Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th September 2004, 12:33 PM
chronox Offline
Registered User
 
Join Date: Sep 2004
Posts: 9
share internet for incoming modem connection

i have successfully networked my computers under a router acting as a gateway for the internet. now I have a linux fedora core 2 server which accepts incoming modem connections. It connects and I was able to ping the server but sadly i cant provide internet connection to the incoming modem client.

Server local ip: 192.168.7.7
router ip: 192.168.7.1
gateway (dsl via router): 192.168.7.1
client modem ip: 192.168.7.10

http://www.swcp.com/~jgentry/pers.html <--- followed this guide.

i just want to forward all activity of the client to the router.

how my network looks like:
incoming modem >> linux server >> router >> dsl modem >> internet

devices used:

ttyS0, eth0

firewall is off
Reply With Quote
  #2  
Old 25th September 2004, 02:35 PM
blammo's Avatar
blammo Offline
Registered User
 
Join Date: May 2004
Location: That toddlin' town...
Posts: 296
Check into iptables. If the client connects and gets an IP on your network, it's just a matter of forwarding and NAT for it to find the gateway.
Reply With Quote
  #3  
Old 26th September 2004, 05:10 PM
chronox Offline
Registered User
 
Join Date: Sep 2004
Posts: 9
my client gets the ip 192.168.7.10 aqnd is able to ping the server but it doesnt have any access to the internet.

how do i do the forwarding and NAT?

but i believe i've done the forwarding part... but im not sure with the NAT part...
Reply With Quote
  #4  
Old 27th September 2004, 05:29 PM
chronox Offline
Registered User
 
Join Date: Sep 2004
Posts: 9
this is the output of my "route"

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.10 * 255.255.255.255 UH 0 0 0 ppp0
192.168.7.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.7.1 0.0.0.0 UG 0 0 0 eth0


with that i am able to contact the router itself and ping ALL lan networks...

ppp0 = the client dialing up on the server
Reply With Quote
Reply

Tags
connection, incoming, internet, modem, share

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
share internet connection shylock360 Servers & Networking 6 3rd April 2008 10:20 AM
share internet connection shylock360 Servers & Networking 1 3rd April 2008 08:48 AM
help me please with this internet connection share makaka Servers & Networking 2 16th April 2007 12:42 AM
Share Internet Connection Chen Servers & Networking 0 3rd October 2005 03:30 PM


Current GMT-time: 09:45 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat