Question reserve proxy help

Discussion in 'Other' started by ramazanqqq, Dec 25, 2016.

  1. ramazanqqq

    ramazanqqq Member

    Hi, do you have a forum I saw recently that might help you to ts3proxy?
    As in the example image:
  2. ehthe

    ehthe TS3 Dev-Team Contributor

  3. Vivorma

    Vivorma Restricted

    Reverse Proxy per UDP is quite annoying, because anyone connecting through a proxy has the same ip. A better solution is to tunnel GRE or IPIP that hides our server address, but you have your own address ipv4 with the isp.

    Fast udp proxy

    echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
    sysctl -p
    iptables -t nat -A PREROUTING -p udp --dport 9987 -j DNAT --to-destination ipnoprotected:9987
    iptables -t nat -A POSTROUTING -j MASQUERADE
    Last edited: Dec 29, 2016
    ehthe likes this.
  4. techgolem

    techgolem Member

    If you want that the whole ts3 traffic should go through another server, do this:

    echo "1" > /proc/sys/net/ipv4/ip_forward
    sysctl net.ipv4.ip_forward=1
    iptables -t nat -A PREROUTING -p udp --dport 9987 -j DNAT --to-destination yourip:9987
    iptables -t nat -A PREROUTING -p tcp --dport 10011 -j DNAT --to-destination yourip:10011
    iptables -t nat -A PREROUTING -p tcp --dport 30033 -j DNAT --to-destination yourip:30033
    iptables -t nat -A PREROUTING -p udp --dport 2010 -j DNAT --to-destination yourip:2010
    iptables -t nat -A PREROUTING -p tcp --dport 41144 -j DNAT --to-destination yourip:41144
    iptables -t nat -A PREROUTING -p tcp --dport 2008 -j DNAT --to-destination yourip:2008
    iptables -t nat -A POSTROUTING -j MASQUERADE
  5. Asphyxia

    Asphyxia Web Admin Administrator Moderator

    I very much agree, at that point you would just need to use internal addresses for within a VPN/proxy connection, here is a good mentioning regarding this. Because some people may wish to have the data encrypted from the client to the server. If privacy is the concern here, we do not want the ISP (for every client) involved with the VoIP IP address.

    Last edited: Dec 31, 2016

Share This Page