NAT with single NIC in fedora
How to do the NAT with single NIC in fedora core
|
Welcome to LQ.
I'm afraid your Q makes no sense to me as it is currently phrased. In fact, it occurred to me to ask you back, "How does one do NAT with a single NIC?" Of course, I wouldn't be referring to the internals on FC4, but rather the network layout. My point is that NAT as I know it requires the source & the destination to be separate. Please explain your situation, a network diagram would be nice. 2 points about your choice of distro:[list] [*] FC4 is way out of date. [*] FC anything is for testing, RHEL or CentOS should be used for (most) servers. [list] |
I don't know if this helps, but perhaps you are thinking about maybe running a proxy? You can run a proxy server of your box and then your browser connects to that instead of directly through your internet connection.
|
Code:
ifconfig eth0:1 up ? i dontknow, havent tried it, but seemslike it would work.. you could also specify eth0:1 in the iptables rules for better seperation. ip is layer 3 so shouldnt have a problem with both interfaces being on the same nic. |
All times are GMT -5. The time now is 11:31 PM. |