Problem dial-in server with internet connection

This is a discussion on Problem dial-in server with internet connection within the Linux Networking forums, part of the Linux Forums category; The situation is as follows: I have a LAN which is connected to the internet through a adsl-router (10....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-29-2003
Richard Boekamp
 
Posts: n/a
Default Problem dial-in server with internet connection

The situation is as follows: I have a LAN which is connected to the
internet through a adsl-router (10.0.0.138) which also runs the DNS and
DHCP server for my LAN. Furthermore I have a server (10.0.0.155, RedHat
8.0) which runs an Apache server and several other services for LAN and
Internet users. This all works fine.

Since a short while we have the possibillity of a free telephone
connection between our office and a home user. At this moment the home
user has to dial-in at an normal ISP and has to pay per time. So now we
want to have this user to dial-in into our LAN to reduce costs. So we
did set-up a modem and mgetty at our server (10.0.0.155). And indeed,
the home-user (10.0.0.190) is able to call-in and make a connection as a
terminal. In fact he can reach any service running at the server
(10.0.0.155) including our website, ftp etc.

But now the problem: the home user (10.0.0.190) is unable to reach the
internet. In fact is he unable to ping any other box on the LAN, so
including the internet-router.

What we would like to obtain is:
OR the already mentioned above working stuff extended so that the home
user (10.0.0.190) also can use the internet
OR kinda pipeline from the home-user (10.0.0.190) to the
internet-router(10.0.0.138) through our server(10.0.0.155).

Does anybody have a clue in which direction I should search?

Thanks in advance,
Richard

Reply With Quote
  #2 (permalink)  
Old 12-29-2003
Xenna
 
Posts: n/a
Default Re: Problem dial-in server with internet connection

Richard Boekamp wrote:

> Does anybody have a clue in which direction I should search?


cat /proc/sys/net/ipv4/ip_forward

If it contains a 0 try:

echo 1 > /proc/sys/net/ipv4/ip_forward

Also the router must be able to find the modem user, so maybe you'll
need to use the proxy arp pppd option as well...

Or just add a static arp entry on the server using:

arp -s 10.0.0.190 mac_address_of_server

X.

Reply With Quote
  #3 (permalink)  
Old 12-29-2003
Richard Boekamp
 
Posts: n/a
Default Re: Problem dial-in server with internet connection



Xenna wrote:

> Richard Boekamp wrote:
>
> > Does anybody have a clue in which direction I should search?

>
> cat /proc/sys/net/ipv4/ip_forward
>
> If it contains a 0 try:
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> Also the router must be able to find the modem user, so maybe you'll
> need to use the proxy arp pppd option as well...
>
> Or just add a static arp entry on the server using:
>
> arp -s 10.0.0.190 mac_address_of_server
>
> X.


Gheezzz of course... I should have thought of the IP-forwarding setting
myself..... Thanks a lot since this single zero was indeed screwing
everything up for several weeks... ( proxy arp was already included as
a pppd option and turns out to work fine..:).

THANKS A LOT

Richard



Reply With Quote
Reply
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0