| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Linux as a router
|
Original Message
|
Name: Ali
Date: April 23, 2002 at 05:12:03 Pacific
Subject: Linux as a router |
Comment: Hi, I would like to set Linux as a router. I installed the Red hat 7.2 verssion iNow according to the book Red hat linux 7.2 Bible it says to enter this: ipchains -P forward Deny and then ipchains -A forward -i ppp0 -s 192.168.0.0/255.255.255.0 -j MASQ the problem is when i enter the first sentence it says protocol not availble so i found in this forum that i have to enter modprobe ipchains and it worked and when i enter the second sentence it doesnThanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Ali
Date: April 23, 2002 at 05:19:40 Pacific
|
Reply: (edit)Sorry something is missing. I would like to set Linux as a router. I installed the Red hat 7.2 verssion iNow according to the book Red hat linux 7.2 Bible it says to enter this: ipchains -P forward Deny and then ipchains -A forward -i ppp0 -s 192.168.0.0/255.255.255.0 -j MASQ the problem is when i enter the first sentence it says protocol not availble so i found in this forum that i have to enter modprobe ipchains and it worked and when i enter the second sentence it doesnin my computer on my lan so routing is not working how to fix this . Thanks
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
|
Reply: (edit)Make sure the /proc/sys/net/ipv4/ip_forward value is "1" not "0" Then type the following: (upper/lower are very important) ipchains -P forward DENY
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Linux Forum Home