Ik probeer dat progje goed werkend te krijgen. Op het moment kan ik een server hosten en mensen kunnen daar inloggen en ik kan ze horen. Het probleem is dat zij mij niet kunnen horen. In de testmodus van het programma werkt alles goed (oftewel het recording gedeelte werkt en ik kan mezelf terughoren)
De poorten die moeten gemapped worden zijn (van hun webpagina):
a) the initial TCP connection and TCP data packets are sent from the TS client to the TS server on TCP port 40000. This can be adjusted using the /CTCP=<value> command line switch on the client and the server.
b) subsequent TCP data packets are sent from the TS server to the TS client on TCP port 40001. This can be adjusted using the /CTCP=<value> command line switch on the client and the server. This is translated as the CTCP value plus one.
c) outbound audio packets are sent from the TS client to the TS server on UDP port 40011 for the first user, incrementing one UDP port for each connected user. This can be adjusted using the /SUDP=<value> command line switch on the client and the server.
d) inbound audio packets are sent from the TS server to the TS client on UDP port 40002, 40003 and 40004 depending upon the preferences of the TS client. This can be adjusted using the /CUDP=<value> command line switch on the client and the server.
Scenario #1. To operate the TS client behind a firewall, proxy or network address translation device you need to allow inbound packets over TCP on port 40001 and inbound packets over UDP on ports 40002, 40003 and 40004.
Scenario #2. To operate the TS server behind a firewall, proxy or network address translation device you need to allow inbound packets over TCP on port 40000 and inbound packets over UDP on ports 40011-40200.
Nu heb ik naar mijn idee wel alles goed ingesteld op mijn router:
iptables -A PREROUTING -t nat -p tcp -d 213.10.xxx --dport 40000:40001 -j DNAT --to 192.168.1.2:40000-40001
iptables -A PREROUTING -t nat -p udp -d 213.10.xxx --dport 40002:40200 -j DNAT --to 192.168.1.2:40002-40200
iptables -t nat -v -A POSTROUTING -d 213.10.xxx -p udp --destination-port 40002:40200 -j SNAT --to 192.168.1.2:40002-40200
iptables -t nat -v -A POSTROUTING -d 213.10.xxx -p tcp --destination-port 40000:40001 -j SNAT --to 192.168.1.2:40000-40001
Ziet iemand hier een fout in? Of heeft iemand een advies hiervoor?
De poorten die moeten gemapped worden zijn (van hun webpagina):
a) the initial TCP connection and TCP data packets are sent from the TS client to the TS server on TCP port 40000. This can be adjusted using the /CTCP=<value> command line switch on the client and the server.
b) subsequent TCP data packets are sent from the TS server to the TS client on TCP port 40001. This can be adjusted using the /CTCP=<value> command line switch on the client and the server. This is translated as the CTCP value plus one.
c) outbound audio packets are sent from the TS client to the TS server on UDP port 40011 for the first user, incrementing one UDP port for each connected user. This can be adjusted using the /SUDP=<value> command line switch on the client and the server.
d) inbound audio packets are sent from the TS server to the TS client on UDP port 40002, 40003 and 40004 depending upon the preferences of the TS client. This can be adjusted using the /CUDP=<value> command line switch on the client and the server.
Scenario #1. To operate the TS client behind a firewall, proxy or network address translation device you need to allow inbound packets over TCP on port 40001 and inbound packets over UDP on ports 40002, 40003 and 40004.
Scenario #2. To operate the TS server behind a firewall, proxy or network address translation device you need to allow inbound packets over TCP on port 40000 and inbound packets over UDP on ports 40011-40200.
Nu heb ik naar mijn idee wel alles goed ingesteld op mijn router:
iptables -A PREROUTING -t nat -p tcp -d 213.10.xxx --dport 40000:40001 -j DNAT --to 192.168.1.2:40000-40001
iptables -A PREROUTING -t nat -p udp -d 213.10.xxx --dport 40002:40200 -j DNAT --to 192.168.1.2:40002-40200
iptables -t nat -v -A POSTROUTING -d 213.10.xxx -p udp --destination-port 40002:40200 -j SNAT --to 192.168.1.2:40002-40200
iptables -t nat -v -A POSTROUTING -d 213.10.xxx -p tcp --destination-port 40000:40001 -j SNAT --to 192.168.1.2:40000-40001
Ziet iemand hier een fout in? Of heeft iemand een advies hiervoor?
Als je niet de moeite neemt je post in net Nederlands te schrijven, neem ik de moeite niet hem te lezen.