Find the answer to your Linux question:
Results 1 to 3 of 3
Hello! Guys I have been given this task to implement or in fact configure a dial in server as in ISPS Now here is the description What I want to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    2

    Dial in Server on RH linux 9.0


    Hello!
    Guys
    I have been given this task to implement or in fact configure a dial in server as in ISPS Now here is the description What I want to configure is a Remote Access server (RRAS in windows 2003) so that my users of which have their accounts on my server can dial in from a remote location using PSTN and then get 3 facilities 1. Files on Local LAN 2. Internet which is available on the server and on the local LAN 3. Emails that are o the local intranet like my own domain

    Now I have to configure it on Linux 9.0
    The problem is that I have worked with Linux but not to that extent
    I really need you help here Please tell me which server I need to configure for this requirement And where can I get more information about this same thing This thing has to be done as soon as possible and I have to do it all on my own Your kind help is deeply appreciated
    Thanks
    Ather

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    62
    my Steps in configuring Dial-in Internet gateway using Redhat 9
    I am using 56k 3com US Robotics Fax modem


    1. Install Mgetty
    2. Edit the /etc/inittab and add these txt below all the txt
    S0:2345:respawn:/sbin/mgetty -s 57600 /dev/ttyS0
    # the modem was using COM1
    3. Edit your /etc/mgetty+sendfax/mgetty.config ...
    add the txt below, this is what i am using
    speed 57600
    modem-type auto
    modem-check-time 1800
    init-chat "" AT&F1M0 # this is what ie used with my Modem, it could be different
    #with other modem
    port ttyS0
    debug 4
    4. edit the /etc/mgetty+sendfax/login.config
    #---- Ive just commented out the default below
    /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login
    debug

    5. Assuming PPP has been installed already, below are my ppp configs
    /etc/ppp/options
    asyncmap 0
    crtscts
    nodetach
    deflate 15
    debug
    lock
    login
    #note: i put log-in here so i can use the systems users
    modem
    netmask 255.255.255.0
    ms-dns 2xx.xx.xxx.xx
    ms-dns 2xx.xx.xxx.x
    require-pap
    refuse-chap
    ~
    /etc/ppp/pap-secrets
    # Secrets for authentication using PAP
    # client server secret IP addresses
    * * "" *

    ################################################## #############

    /etc/ppp/options.ttyS0
    172.16.0.101:17.16.0.100
    #note: 172.16.0.101 - server assigned IP
    # 172.16.0.100 - remote IP

    6. make sure u have enabled this in your firewall script
    echo "1" > /proc/sys/net/ipv4/ip_forward
    $IPTABLES -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    note: eth0 - connected to INTERNET - ip is 2xx.xxx.xxx.xxx
    eth1 - connected to LAN
    ppp0 - the dial-in ppp adapter
    That was my configuration in my redhat 9 system and able to make it working, try it first without a firewall, then if it works, there, you can adjust your rules ...
    hope it helps you

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    2

    thanks

    thanks alot friend!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •