Network settings for Linux behind Wingate
This tutorial is no longer regularly maintained -- no questions please.
These are the manual settings for networking a Red Hat Linux 5.2 machine behind the Wingate proxy/firewall. It assumes that Wingate is working fine with other Windows machines (see Wingate HelpDesk if you don't know how to do it) and you are setting up only the Linux machine.
You should also have installed and setup the network card in the Linux machine as eth0 (see Linux Ethernet-HOWTO if you don't know how to do it).
You need to create or edit a series of files as follows:
- /etc/HOSTNAME
LINUX-NAME ... name of your machine without domain, e.g. PCLinux.
- /etc/hosts
127.0.0.1 localhost
192.168.0.1 gateway ... the name of the machine running Wingate
192.168.0.x LINUX-NAME ... the IP and name of the Linux machine
............. xxxxxxxxxx ... IP and name of all other machines in LAN
- /etc/resolv.conf
nameserver 192.168.0.1 ... the machine running Wingate
- /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
IPADDR=192.168.0.x .... IP of the Linux machine in LAN
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
- /etc/sysconfig/network
NETWORKING=yes
FORWARD IPV4=yes
HOSTNAME=LINUX-NAME
DOMAINNAME=ISP-domain ... I believe that it can be left blank
GATEWAY=192.168.0.1
GATEWAYDEV=eth0
NOTE: Of course do not include the comments starting with ...
You can enter all the above information using the graphical interface of the Network Configuration tool in the Control Panel if you are using Red Hat 5.2.
This page is maintained by Al Bento
who can be reached at abento@ubmail.ubalt.edu. This page was last updated on March 20, 1999. Although we will attempt to keep this information accurate, we can not guarantee the accuracy of the information provided.