Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Is there any way to do this ?

    Scheduled Pinned Locked Moved Cache/Proxy
    10 Posts 4 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      n0br4n
      last edited by

      Hello guys,
      I just want to ask this if there's any way to mask proxies.

      I mean for example i've a dedicated server and 1 ip with it , also i've a proxy server as well.

      So i want to mask that proxy ips with dedicated servers ip.

      I mean 111.11.111.11 is will be my main ip and i'll add accounts for connect to proxy server.

      E.g.

      111.11.111.11 : 1080 acc id : test1 pw : pwtest1      will connect to 222.22.222.22 : 1080  acc id : xxx1  pw : yyy1
      111.11.111.11 : 1080 acc id : test2 pw : pwtest2      will connect to 333.33.333.33 : 1080  acc id : xxx2  pw : yyy2
      111.11.111.11 : 1080 acc id : test3 pw : pwtest3      will connect to 444.44.444.44 : 1080  acc id : xxx3  pw : yyy3

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Probably not, but if anything can do that, it would be the HAProxy package. I'll move this over to the cache/proxy board.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • V
          Valeriy
          last edited by

          IP addresses in your example do not exist in real world (and are incorrect):
          333.33.333.33
          444.44.444.44

          I did not exactly understood what you wrote in your setup, but important thing is that you mentioned you only have 1 Public IP.
          Yes you can definitely do it, if I got you right.. My understanding is that you have Proxy in your LAN and traffic from it needs to be masqueraded while going from proxy to the Internet, through the firewall dedicated IP.

          Say, your Proxy IP is 192.168.10.10
          You dedicated server (that is also firewall and NAT) private IP is 192.168.10.1, and Public IP is 111.111.111.111

          If Proxy default gateway is set to 192.168.10.1, then all traffic from your proxy server will be masqueraded under Public 111.111.111.111, of course if NAT/firewall is properly setup on your dedicated server.

          If you need other setup, like for instance, three proxies inside your LAN should be accessible FROM outside, that is also possible via different port numbers, forwarded from Public IP address to Private IP addresses.

          For instance,
          proxy user connecting from outside world to 111.111.111.111:3128 will connect to your proxy 192.168.10.10:3128
          user connecting to 111.111.111.111:3129 will connect to your proxy 192.168.10.11:3128
          user connecting to 111.111.111.111:3131 will connect to your proxy 192.168.10.12:3128

          Is that you wanted?

          In case no, please be more specific. What is your native language?

          1 Reply Last reply Reply Quote 0
          • B
            Biscuitsntea
            last edited by

            @Valeriy:

            I did not exactly understood what you wrote in your setup….What is your native language?

            huh?

            And then add in the headache of mapping this if your utilizing VPN…

            1 Reply Last reply Reply Quote 0
            • N
              n0br4n
              last edited by

              @Valeriy:

              IP addresses in your example do not exist in real world (and are incorrect):
              333.33.333.33
              444.44.444.44

              I did not exactly understood what you wrote in your setup, but important thing is that you mentioned you only have 1 Public IP.
              Yes you can definitely do it, if I got you right.. My understanding is that you have Proxy in your LAN and traffic from it needs to be masqueraded while going from proxy to the Internet, through the firewall dedicated IP.

              Say, your Proxy IP is 192.168.10.10
              You dedicated server (that is also firewall and NAT) private IP is 192.168.10.1, and Public IP is 111.111.111.111

              If Proxy default gateway is set to 192.168.10.1, then all traffic from your proxy server will be masqueraded under Public 111.111.111.111, of course if NAT/firewall is properly setup on your dedicated server.

              If you need other setup, like for instance, three proxies inside your LAN should be accessible FROM outside, that is also possible via different port numbers, forwarded from Public IP address to Private IP addresses.

              For instance,
              proxy user connecting from outside world to 111.111.111.111:3128 will connect to your proxy 192.168.10.10:3128
              user connecting to 111.111.111.111:3129 will connect to your proxy 192.168.10.11:3128
              user connecting to 111.111.111.111:3131 will connect to your proxy 192.168.10.12:3128

              Is that you wanted?

              In case no, please be more specific. What is your native language?

              i know these ips ( 333.33.333.33
              444.44.444.44 ) doesn't exist in real world , just gave them as example.

              i want to use 1x main ip and add accounts to it to connect other proxies as like what i gave example on first post.

              1 Reply Last reply Reply Quote 0
              • N
                n0br4n
                last edited by

                so anyone can help me about this ?

                1 Reply Last reply Reply Quote 0
                • V
                  Valeriy
                  last edited by

                  Its difficult to help you, at least for me, I dont exactly understand what you want.
                  My previous suggestion isn't what you are looking for?

                  1 Reply Last reply Reply Quote 0
                  • N
                    n0br4n
                    last edited by

                    @Valeriy:

                    Its difficult to help you, at least for me, I dont exactly understand what you want.
                    My previous suggestion isn't what you are looking for?

                    Your previous suggestion is not excatly what i looking for.

                    I want 2 seperate servers. 1 of them will be regular proxy server. The other one will be have only 1 ip adress and it will connect to proxy server.

                    So when i give someone ip adress and account informations from second server , it will connect to proxies on first server. After than if i give someone else same ip but different acc it will connect to different ip on first server.

                    1 Reply Last reply Reply Quote 0
                    • N
                      n0br4n
                      last edited by

                      Still looking for help :S

                      1 Reply Last reply Reply Quote 0
                      • V
                        Valeriy
                        last edited by

                        Does it look like what you need?

                        [Internet] [real IP address] [Proxy 1] – 192.168.4.70  [192.168.4.0/24]  192.168.4.80  –--- [Proxy 2] –--- 10.30.30.1    -----  LAN users
                                                                          --  192.168.5.70  [192.168.5.0/24]  192.168.5.80  –--                ----- 10.30.30.2    ---------

                        When you give IP to users, will it be proxy IP or gateway IP?
                        Or it does not matter?
                        Why do you need to mask proxy, exactly? Could you explain in detail, preferably live example?
                        Are you good at networking or newbie ?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.