What must i do in order to be able to share internet connection with RedHat 9?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What must i do in order to be able to share internet connection with RedHat 9?
What must i do in order to be able to share internet connection with RedHat 9?
I have been trying different solutions for a week now, but it still doesn't seem to work. I am planning to start all over again.
I have a linux Redhat 9.0 connected to a xDSL connection (PPPoE) using the interface ppp0. THe Redhat linux has got 3 nics, eth0, eth1, eth2. Eth0 has been used for the PPPoE connection
I want to use the Redhat 9.0 as a gateway for my other two Windows XP systems.
Both Windows XPs are connected to the RedHat directly using cross cables.
One Win XP connected to eth1, the other connected to eth2.
How do i add two interfaces into the following firewall script? I have two interfaces that i use to connect to my Windows XPs, eth1, eth2.
Will it still work?
Code:
#Setting the EXTERNAL and INTERNAL interfaces for the network
#
# Each IP Masquerade network needs to have at least one
# external and one internal network. The external network
# is where the natting will occur and the internal network
# should preferably be addressed with a RFC1918 private address
# scheme.
#
# For this example, "eth0" is external and "eth1" is internal"
#
# NOTE: If this doesnt EXACTLY fit your configuration, you must
# change the EXTIF or INTIF variables above. For example:
#
# If you are a PPPoE or analog modem user:
#
# EXTIF="ppp0"
#
EXTIF="eth0"
INTIF="eth1"
echo " External Interface: $EXTIF"
echo " Internal Interface: $INTIF"
echo " ---"
Originally posted by Julian_Thong How do i add two interfaces into the following firewall script? I have two interfaces that i use to connect to my Windows XPs, eth1, eth2.
Will it still work?
Code:
#Setting the EXTERNAL and INTERNAL interfaces for the network
#
# Each IP Masquerade network needs to have at least one
# external and one internal network. The external network
# is where the natting will occur and the internal network
# should preferably be addressed with a RFC1918 private address
# scheme.
#
# For this example, "eth0" is external and "eth1" is internal"
#
# NOTE: If this doesnt EXACTLY fit your configuration, you must
# change the EXTIF or INTIF variables above. For example:
#
# If you are a PPPoE or analog modem user:
#
# EXTIF="ppp0"
#
EXTIF="eth0"
INTIF="eth1"
echo " External Interface: $EXTIF"
echo " Internal Interface: $INTIF"
echo " ---"
hi
u r getting this wrong
the script u r using is describing about 2 interfaces
one interface is the internet (untrusted)
other is local network (trusted)
so here they are dioscusing a case where u have a proxy server in betwwen two networks
which is connected betwen the both networks
so it differnciates between the both networks by naming then as trusted and untrusted
i may happen that since u r using modem to connect to the internet then the modem becomes ur untrusted and the eth0 card becomes ur trusted devioce for ur LAN
If only one nic is specified as trusted, does it mean that i can only use that card for LAN and require a switch hub to connect the two Windows XPs to that one nic interface ?
hi
yes
i understand from that , u have 3 machines
one running linux and two on XP
so there is modem on the linuxmachine (untrusted)
and the NIC on it used for the network with the 2 XP machines
what do u mean by two nics for LAN
this configuration is for ur machine with one untrusted device and one trusted device
it does not matter how many other machines u have other than this on the network
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.