|
Home | Reviews | Speed Test | Tools | News | Forums | Info | About | Join |
It depends on what kernel version you are using. With 2.4 you can choose between doing postrouting or the easier prerouting. The difference is if you do a postrouting, all clients within your internal network (LAN) can connect and download/upload between each other. Postrouting is not necessary if you are the only client which uses DC behind the router/firewall. The examples below use the following settings: External Ethernet card: eth1, external IP 213.112.8.55, firewall (router) IP: 192.168.0.1, client IP: 192.168.0.2, external and internal port: 555
Linux 2.4, postrouting example
Linux 2.2, example
Submitted by tajisen
How to use Shorewall to configure your iptables Here's what you have to add to rules (assuming loc is the zone where your computer is located, 192.168.0.7 is your computer's IP, 666 is the port you wish to use and 123.45.67.89 is your external IP):
Submitted by Ender got feedback? by USR56K edited by JMGullett |