Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 23, 2024, 12:54:01 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
NAT in Fedora Core 4
« previous
next »
Print
Pages: [
1
]
Author
Topic: NAT in Fedora Core 4 (Read 6099 times)
shani
Tux Awared
Posts: 36
NAT in Fedora Core 4
«
on:
January 04, 2006, 06:37:44 AM »
HI I am using Fedora Core 4 and i have followed the script mentioned in the tutorial i.e
[[[[[[[[[[[
# Defines the location of iptables executables.
iptables=/sbin/iptables
#Clears if any old iptable rules/ policies are there.
iptables --flush -t nat
# Now we will do Masquerading ie. we are doing NAT.
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
# Enabling packet forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward ]]]]]]]]]]]]]]
where eht1 is external interfae and eth0 is internal interface, but it is not working while i have done this on my RED hat llinux 8
what should i do in this please guide me
thanks in adavance.
regard
Akmal
Logged
shani
Tux Awared
Posts: 36
NAT in Fedora Core 4
«
Reply #1 on:
January 05, 2006, 08:23:42 AM »
could any reply me or not?
shani
Logged
ronaldjayr_jover
Linux Noob !
Posts: 29
NAT in Fedora Core 4
«
Reply #2 on:
January 05, 2006, 08:31:29 AM »
good day,
what NAT do you want to do sir?
Logged
shani
Tux Awared
Posts: 36
NAT in Fedora Core 4
«
Reply #3 on:
January 05, 2006, 11:45:02 AM »
i want to use NAT to make this machine as router for my private network.
so that all the private trafic will use this machine as gateway for internet.
thanks
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
NAT in Fedora Core 4
«
Reply #4 on:
January 05, 2006, 05:19:58 PM »
try to run those command on shell.. and see hw many of them executed successfully.. and then give the result..
meanwhile u can also try firestarter to do NAT.. it will be easier for u.
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
NAT in Fedora Core 4