Networking Forums

Networking Forums > Computer Networking > Linux Networking > NATing using IPTABLES

Reply
Thread Tools Display Modes

NATing using IPTABLES

 
 
MalhiNet
Guest
Posts: n/a

 
      12-26-2003, 12:00 PM
Hi

I am trying to doing the NAT for my network i am using linux 9.o squid
is also configured on it with Network Cards


echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

eth1 is my external network card

is there any problem with this configuration

Malhinet

http://www.malhinet.com
http://www.geocities.com/m_nets2003
 
Reply With Quote
 
 
 
 
Richard Boekamp
Guest
Posts: n/a

 
      12-30-2003, 08:31 PM

"MalhiNet" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed) m...
> Hi
>
> I am trying to doing the NAT for my network i am using linux 9.o squid
> is also configured on it with Network Cards
>
>
> echo "1" > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -P POSTROUTING ACCEPT
> iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
>
> eth1 is my external network card
>
> is there any problem with this configuration
>
> Malhinet
>
> http://www.malhinet.com
> http://www.geocities.com/m_nets2003


Not if it works.......


Richard


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static Nating seriouswarm32@gmail.com Windows Networking 2 04-21-2008 07:00 PM
iptables only NATing the first udp packet in a "connection" shaharklein@gmail.com Linux Networking 0 10-02-2007 05:12 PM
issue reg NATing using iptables query.cdac@gmail.com Linux Networking 2 09-29-2007 09:26 AM
Static Nating on RRAS Boustany Windows Networking 0 12-20-2005 06:29 AM
Is my belkin F5D6130 NATing Sam Liddicott Wireless Internet 3 01-17-2004 02:46 PM



1 2 3 4 5 6 7 8 9 10 11