DNAT not working

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

 



Title: Message
Hello netfilter lists
 
Can any one help me here. I have the following rule...
 
iptables -t nat -A PREROUTING -i ppp0 -p tcp -d $FW-EXT-IP --dport 22 -j DNAT --to 192.168.100.6:22
 
Simply put I want to allow ssh from the internet to a server on my LAN, 192.168.100.6
My FORWARD rule is default accept.
 
I understand that a packet comes into the firewall on an interface and then gets PREROUTED as above the gets passed to FORWARD = accept then to the destination???
 
Why is it not working? Do i need to do any special kernel, modprobe things?
Thanks
Stu

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 3/17/2004


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux