Question Redirect another ts3 server

zhaiks

Member
Joined
Sep 17, 2016
Messages
40
Points
40
Age
27
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
Joined
Oct 2, 2015
Messages
95
Points
53
Age
25
Location
I just want to hide m8
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
Joined
Nov 18, 2015
Messages
150
Points
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

Member
Joined
Sep 14, 2015
Messages
32
Points
55
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

New Member
Joined
May 23, 2017
Messages
16
Points
15
Age
31
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
 

chuga2

Restricted
Joined
Jul 16, 2016
Messages
175
Points
61
how can redirect the server to another server but for port query 10011 ??
 

Wicked

WickeD CSA
Joined
May 1, 2016
Messages
50
Points
58
Age
28
Location
Romania
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