pptp vpn server port problems

Status
Not open for further replies.

sharing-devil

Active Member
41
2012
5
2,920
hejhej

i have some problems with my pptp server.
its a openvz vps and pptp runs as gateway server.

when i connect i can go to the internet with the server ip thats cool :good:

but i need open ports for emule and torrent etc

so i tried:

Code:
[COLOR=#000000][FONT=Calibri Light]iptables -t nat -A PREROUTING -p tcp -d "serverip" --dport 28221 -j DNAT --to 192.168.7.2:28221[/FONT][/COLOR]

[COLOR=#000000][FONT=Calibri Light]iptables -t nat -A PREROUTING -t nat -p tcp -d [/FONT][/COLOR][COLOR=#000000][FONT=Calibri Light]"serverip"[/FONT][/COLOR][COLOR=#000000][FONT=Calibri Light] --dport 28221 -j DNAT --to 192.168.7.2:28221[/FONT][/COLOR]

but it doesnt work...some tips?

without working ports and routing its useless for me
:cursing:

 
Status
Not open for further replies.
Back
Top