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

MASQUERADE



Hi all,

I still have a masquerade problem, and nothing helps me to go to the right 
way.

This is my configuration :

A server (10.0.0.1) with internet access on eth0, and local network access 
(192.168.0.1) on eth1
A workstation (192.168.0.14) wants to access to internet

This is what I done : 

On the workstation, I specify the gateway and the dns as 192.168.0.1
On the server, I ran the following code : 

           iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j 
MASQUERADE

When I tried my configuration, the log said to me : 'bad port from 
192.168.0.14'.

Anyone can help me ?

Very best regards



Reply to: