Redirect another ts3 server

zhaiks

Active Member
Sep 17, 2016
42
1
80
For example, if I have my server x.x.x.x: 9987 main. And I have another x.x.x.x: 9990. I would like it when users connect to this server x.x.x.x: 9990 automatically redirect it to the main x.x.x.x: 9987, showing a redirect window
 

Wrath X

Member
Oct 2, 2015
96
34
53
For example, if I have my server x.x.x.x: 9987 main. And I have another x.x.x.x: 9990. I would like it when users connect to this server x.x.x.x: 9990 automatically redirect it to the main x.x.x.x: 9987, showing a redirect window
There is no way to do it automatically but,
Change the Host Message Mod to Show Host Message Popup Window and Disconnect and type a Host Message like that:
Code:
[URL=ts3server://x.x.x.?port=9987]x.x.x.x:9987[/URL]
 

Nýuu™

Member
Nov 18, 2015
150
54
63
I am not sure what you trying to do. But if I get it right you can use iptables for that.
Code:
iptables -A FORWARD -i eth0 (interface) -p udp --dport 9990 -d x.x.x.x:9987 -j ACCEPT
Dont forget

Code:
sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 0
sysctl -p /etc/sysctl.conf
If its not the same IP adresse it would work too but it will fuck up everythink.

If you need more help hit me up with a PM I will do my best to help you buddy.
 
Last edited:

skill1917

Active Member
Sep 14, 2015
40
27
68
I am not sure what you trying to do. But if I get it right you can use iptables for that.
Code:
iptables -A FORWARD -i eth0 (interface) -p udp --dport 9990 -d x.x.x.x:9987 -j ACCEPT
almost got it right :p

Code:
iptables -t nat -A PREROUTING -i eth0 (interface) -p udp --dport 9990 -j DNAT --to x.x.x.x:9987
 

BlackNetwork

Member
May 23, 2017
16
1
35
Code:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sysctl -p
iptables -t nat -A PREROUTING -p udp --dport 9987 -j DNAT --to-destination UNPORTIP:9987
iptables -t nat -A POSTROUTING -j MASQUERADE
 

Wicked

WickeD CSA
May 1, 2016
50
5
98
Code:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sysctl -p
iptables -t nat -A PREROUTING -p udp --dport 9987 -j DNAT --to-destination UNPORTIP:9987
iptables -t nat -A POSTROUTING -j MASQUERADE
Can i redirect and quey teamspeak3 port 10011 ? How ? Like if i add the ip wich i do the redirect in an site that tracks servers will read my server with the redirect ip ?
 
Top