SnapGear 1.7.8 manual Configuring a new local Dhcp or Bootp server, Edit the /etc/inetd.conf file

Page 26

Configuring a new local DHCP or BOOTP server

If your network has no DHCP or BOOTP server, you can temporarily configure a local Linux system as a bootp server using the following steps:

1.Edit the /etc/inetd.conf file.

2.Search for the bootpd line. Most distributions ship with this feature disabled (i.e. the line is commented out with "#" at the front). Remove the "#" from the start of this line.

3.Save and exit the file.

4.Edit the /etc/bootptab file. At the bottom of the file, add the following new line:

SnapGear appliance:ht=ethernet:ha=00d0cf000101:ip=192.168.0.1

You need to modify the IP address (tag "ip") to match the addressing for your local network and use an address in your local subnet.

You also need to modify the MAC address (tag “ha”) to match your SnapGear appliance hardware. The MAC address is printed on a label on the underside of the SnapGear appliance. You can optionally include gateway ("gw") and DNS ("ds" and "dn") tags if required. See the manual page for bootptab for further information.

5. Save and exit the file.

Restart TCP/IP on your system. If you are unsure how to restart TCP/IP, simply reboot the Linux system. Once the system is running, it will serve the IP address to the SnapGear appliance when it is connected to your network.

After completing the initial network setup, you can use the web pages for the common configuration tasks.

23

Getting started

Image 26
Contents Rev May 2nd Table of contents Virtual Private Networking Introduction Terminology Term MeaningLAN Document conventions TCP/IPInstalling and configuring your SnapGear appliance Step ChapterLabel Activity Description Your SnapGear applianceLEDs SnapGear appliance back panels Network interconnections SnapGear appliance features Software featuresDial-in connection features Internet link featuresLAN link features Environmental features Static IP reset Getting startedNew Networks 10.0.0.0 10.255.255.255 10/8 prefix192.168.0.0 192.168.0.255 192.168.0/24 prefix Configuring the SnapGear appliance on your network Page Set up IP addresses Your SnapGear appliance was found on the network Multiple SnapGear appliances were found on the networkYour SnapGear appliance needs an IP address Administrative password SnapGear Management Console web administration pagesInitial setup using Linux Using linsetipUsing an existing local Dhcp or Bootp server Ping -b subnet broadcast address Arp -aConfiguring a new local Dhcp or Bootp server Edit the /etc/inetd.conf fileSnapGear Quick Setup LAN port quick setup LAN port quick setupISP connection quick setup ISP connection quick setupGetting started Configuring the PCs on your network TCP/IP properties Connecting to the Internet Physically connect modem deviceConnect to Internet Adsl Select Internet connectionConnect to Internet cable modem Connect to Internet direct Connect to Internet modemISP. The Password and Confirm Password fields must Field DescriptionAdvanced configuration option Internet failoverFollowing figure shows the failover configuration screen Failed connection Configure PCs to use SnapGear appliance Internet gateway Establishing the connectionDial-in server configuration Dial-in server configuration Dial-in setup Dial-in setupField Description Dial-in user accounts Dial-in user account creationFollowing figure shows the user maintenance screen Dial-in password error Account listRemote user configuration For Windows 95 and WindowsServer types Windows Connect to dialogue boxClick Next to continue 11 Connection availability 13 Remote access login screen Network configuration IP configurationNetwork configuration Advanced IP configuration Advanced IP configurationNetwork configuration Dhcp server configuration Dhcp serverNetwork configuration Additional routes Advanced networkingTraffic shaping Incoming access FirewallIncoming access administration services Incoming access configurationExternal access to services Configure external access to servicesPort forwarding configuration Port forwardingOutgoing access Security group classes configurationOutgoing access settings Firewall rulesIntrusion detection and blocking configuration Intrusion detection and blockingPage Content filtering Content filtering Filtering levels and reporting Filtering Level Description1VPN tunneling using the Pptp server Virtual Private NetworkingPptp client setup Pptp client configuration Pptp server setup Enable and configure the Pptp VPN server Pptp server setupField Description Configuring user accounts for VPN server 4PPTP VPN server accounts screenVirtual Private Networking Configuring the remote VPN client VPN Pptp IP addressVirtual Private Networking VPN client setup Windows 95 and WindowsYour VPN client is now set up correctly Windows NT Network and dial-up connections This displays the Destination Address window Connecting the remote VPN client IPSec setup 12 IPSec setup13 Add new IPSec connection Virtual Private Networking 14 Automatic keying setup Aggressive mode phase 1 settings Technique DescriptionIPSec interoperability Time server PasswordSystem Diagnostics AdvancedFlash upgrade Reset buttonTechnical support Technical supportAppendix a LED status patterns LED Pattern Status ActionAccess Logging Appendix B System LogEth1 Default DenyEth0 PppCreating Custom Log Rules Forward Iptables -I Forward -j LOG -i eth+ -o eth+ -p tcp Administrative Access Logging Rate LimitingBoot Log Messages