configuring a leased line server

From: Andre Grove (ondrugs_at_ananzi.co.za)
Date: 12/10/03

  • Next message: Lute Mullenix: "Re: configuring a leased line server"
    Date: Wed, 10 Dec 2003 16:24:24 +0200
    To: freebsd-newbies@freebsd.org
    
    

    Hello there

    How do would I go about configuring FreeBSD 5.1 to be a leased line
    server? Basically a mail server and gateway.
    I can get a null modem to connect and obtain an IP address. But I am
    only able to access the machine from outside if there is a
    "default_router" for my network.

    Here is my rc.conf file:

    #defaultrouter="192.168.1.4"
    hostname="bsd.adept.co.za"
    ifconfig_rl0="inet 192.168.1.145 netmask 255.255.255.0"
    inetd_enable="NO"
    kern_securelevel_enable="NO"
    linux_enable="YES"
    saver="daemon"
    sendmail_enable="YES"
    sshd_enable="YES"

    network_interfaces="rl0 ppp0"
    router_enable="NO"

    gateway_enable="YES"
    firewall_enable="YES"
    firewall_type="OPEN"
    natd_enable="YES"
    natd_interface="ppp0"
    natd_flags=""

    I cannot ping any external addresses from the box.
    I have already compiled my kernel for IP forwarding as stated in the
    handbook.
    The other thing, is that my connect script doesn't run at startup, even
    though i have put it in /usr/local/etc/rc.d/ . But that is minor for now.

    What have I done incorrectly and what else do i still need to do?

    Thanks

    Andre

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Lute Mullenix: "Re: configuring a leased line server"

    Relevant Pages

    • Leased line server configuration via analogue modem
      ... How do would I go about configuring FreeBSD 5.1 to be a leased line ... Basically a mail server and gateway. ... I can get a null modem to connect and obtain an IP address. ...
      (freebsd-questions)
    • Re: Leased line server configuration via analogue modem
      ... Andre Grove wrote ... Basically a mail server and gateway. ... > I can get a null modem to connect and obtain an IP address. ...
      (freebsd-questions)
    • Re: Latest Spammer or Worm madness
      ... >David L. Aldridge wrote: ... >> this at the gateway level. ... I have 3 servers which act as gateways to a central mail server. ...
      (comp.mail.sendmail)
    • Re: pf firewall config file help needed please
      ... gateway/router and mail server for two lan segments. ... prevent all clients on the lans from accessing smtp, pop and imap ports ... Assuming you're allowing access to those services hosted on the gateway ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Is it possible to make mail exit by alternative gateway?
      ... I can't change my incoming conecctions because the mail server is a web ... be delivered by the alternative gateway. ... If you can't use or rely on dst IP to filter, ... I would use Eric's suggested approach using policy routing. ...
      (comp.os.linux.networking)