[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open ports with iptables



On Fri, Jun 22, 2001 at 09:27:35PM +0200, Sebastiaan wrote:

> Simply said I want to do this with iptables:
> ipmasqadm portfw -a -P tcp -L $extip 135 -R 192.168.1.1 135

  /sbin/iptables -t nat -A PREROUTING -p tcp -i <external interface> \
    -d <extenal IP address> --dport 135 -j DNAT --to 192.168.1.1:135



Reply to: