Announcement
Collapse
No announcement yet.
IP Cop vs Smoothwall
Collapse
X
-
Originally posted by KooldinoWell, at this point I'm open to anything that I can easily set up on this PC to make it route between the 192 and the 172 networks. Anyone?FT.
Comment
-
-
OMG, I have the answer!
Now to decide which flavor of Linux I'm going to set up on it (as opposed to temporarily running knoppix). Looking for something that's easy to configure NICs and such on, and something simple and lightweight.
Comment
-
Originally posted by Kooldino(HOcp)With that said, can you explain how exactly that worked?
Also, since it's in the /proc folder, I assume it's a daemon or something?
Actually, /proc/sys/ is where "run-time tunables" are - ie, things that can be changed on the fly. A file in /proc/sys is basically an ASCII interface to some internal kernel variable.
I'm also guessing the "echo 1 >" is like saying "output a 'true' or 'on' as an input to [ip_forward in this case]"?
Thanks again.
You can also find out what the variable is set to by using "cat". The command - "cat /proc/sys/net/ipv4/ip_forward" will print a 1 or a 0, depending on whether it's turned on or not.
- Steve
Comment
-
Originally posted by spadnos(I don't remember what "proc" is short for).
Actually, /proc/sys/ is where "run-time tunables" are - ie, things that can be changed on the fly. A file in /proc/sys is basically an ASCII interface to some internal kernel variable.
Sort of. The /proc/sys interface takes an ASCII input, and converts it to a numeric value for the kernel. In this case, the variable that controls IP forwarding takes a 1 or a 0. 'echo' is just the Unix/Linux command to take something from the command line, and copy it to a file (or device). It's usually used to print messages on the console (its default output file is the console) - like "echo Press any key to continue".
You can also find out what the variable is set to by using "cat". The command - "cat /proc/sys/net/ipv4/ip_forward" will print a 1 or a 0, depending on whether it's turned on or not.
- Steve
Comment
Comment