IPTable Trouble
I am so noob with IPTABLES, i am confused.
I have tried several guides on how to use it and i have no luck yet Essentially i am trying to forward something over 2 interfaces I have eth0 (my internet connection) and vpn0 (my vpn connection) i need to forward port 15001 from my ext IP to my VPN ip (lets call them xxx.xxx.xxx.xxx for ext and yyy.yyy.yyy.yyy for VPN) could someone help me out here :D thanks in advance |
You can find many examples by just searching in the forum and of course Google.
Actually, you'll need something like that: Code:
iptables -t nat -I PREROUTING -p tcp -i eth0 --dport 15001 -j DNAT --to yyy.yyy.yyy.yyy:15001 |
All times are GMT -5. The time now is 12:53 AM. |