Is there any way to do this ?



  • 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


  • Rebel Alliance Developer Netgate

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



  • 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?



  • @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…



  • @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.



  • so anyone can help me about this ?



  • 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?



  • @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.



  • Still looking for help :S



  • 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 ?