- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Fedora as a router
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 01:16 AM
тАО05-01-2004 01:16 AM
I am stuck now trying to get my other two PC's on line to the internet. Everything seems to be working on the gateway box; I'm on it now; but when I bring up eth1 ( My LAN ) I can no longer access the internet from this gateway box. LAN also has no internet access.
adsl-status returns normal stuff. But when if I bring up eth1 before adsl-start ( or ifup ppp0 ) a strange entry shows up in /var/log/messages
saying eth1 not redirected from its IP.
That entry does not show up when I get ADSL successfully started with adsl-start. Success only happens if eth1 is not started.
Any ideas;
I'll probably be doing re-installs of Fedora all day :-(
Thanks for any help !!
Vern
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 01:40 AM
тАО05-01-2004 01:40 AM
Re: Fedora as a router
Re-configured eth1's gateway address to 127.0.0.1 instead of it's network IP. Funny; the network IP worked as gateway with RedHat 7.1; probably had it wrong all these years :o)
Any comments welcome !!
Vern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 02:01 AM
тАО05-01-2004 02:01 AM
Re: Fedora as a router
ppp0 should bring a default gateway with it when it comes up.
Also make sure ip_forward is 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 03:04 AM
тАО05-01-2004 03:04 AM
Re: Fedora as a router
Stuart's on the right track. I had a similar problem in a similar network configuration after installing Fedora on my gateway/router machine. During installation, I had inadvertenly chosen the default Fedora firewall even though I use my own iptables ruleset. The gateway box was connecting to the internet just fine, but none of the other machines on the LAN could get out. The problem didn't go away until I changed the net.ipv4.ip_forward value in /etc/sysctl.conf to
net.ipv4.ip_forward = 1
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 05:30 AM
тАО05-01-2004 05:30 AM
Re: Fedora as a router
One thing that got me on this Fedora install is that Fedora doesn't automatically do disk checks. I kept getting system hangs that required hard shutdown; after each shutdown hangs got worse; finally noticed the 2 second warning Fedora gives you to enter y for the disk check.
Now I need to turn on pop3; it doesn't seem to be in the usual xinetd.d directory. I'll try a find.
Vern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2004 07:08 PM
тАО05-01-2004 07:08 PM
SolutionMaybe its because my DSL is different.
in /etc/sysconfig/iptables
*nat
:PREROUTING ACCEPT [189:13041]
:POSTROUTING ACCEPT [16:2351]
:OUTPUT ACCEPT [49:9056]
-A POSTROUTING -o eth0 -j SNAT --to-source
This pretty much does it for me as far as the dsl sharing.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2004 12:10 AM
тАО05-02-2004 12:10 AM
Re: Fedora as a router
Your setup looks good !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:09 PM
тАО05-03-2004 11:09 PM
Re: Fedora as a router
Something worth trying is Shorewall (www.shorewall.net), very easy if you want to add some iptables functionality without going to 'deep' into them yourself..
Just a thought.... Good luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2004 11:36 PM
тАО05-03-2004 11:36 PM