[NTLUG:Discuss] Port forwarding not working

Dennis Myhand dmyhand at suddenlink.net
Sat Apr 28 20:29:31 CDT 2007


Even if he doesn't, I would like to see it, if that is okay with you.  
Thanks, Dennis Myhand

David Stanaway wrote:
> I have a simple bash based firewall script I use you might want. It does
> most of the things you seem to want.
>
>
>
> Neil Aggarwal wrote:
>   
>> Hello all:
>>
>> I just realized that the port forwarding rule
>> I posted was one I was testing on port 1724 since
>> I did not know if the Linux box was getting confused
>> by having the same internal and external port.
>>
>> I changed it to:
>>
>> /sbin/iptables -t nat -A PREROUTING -p tcp -i eth0 -d $ETH0_IP 
>> 	--sport 1024: --dport 1723 
>> 	-j DNAT --to $LINKSYS_VPN_IP:1723
>>
>> And I still get the same problem.
>>
>> Any ideas?
>>
>> Thanks,
>>   Neil
>>
>>     




More information about the Discuss mailing list