idea: sharing net connection, method: iptables..., problem: broken net connection :(
I just got running a very beautifull redhat9 installation with everything the way i wanted it, ADSL setup and running like a beauty
I decided to try and share my ADSL connection with a windowsXP client on the network (192.168.0.2) - my internal IP is 192.168.0.3
I typed in these commands (okay not fully understanding what they do :P) from a tutorial,
now however, even though my ADSL modem is connected (apparently) i get "unknown host" whenever i try and do anything,
i think all the packets are being dropped/denied probably because of the daft rules i put in there..
can you say :newbie: :P
anyway, it's teaching me humility but asides from that, i really dont want to reinstall again (have had to do that three times now due to this same thing - setting up IP masquerading)
now ive decided to boot into XP to see if someone here can help me with my problem (hopefully)
is there any way to flush the IPTables rules or disable Iptables (as a short term solution) or perhaps delete the rules I inputed and put in the correct ones?
if you want to flush your iptable rules, while root, type 'iptables --flush' (without the quotes). It would help though, if you posted more informations, such as which commands you entered exactly, and which tutorial you're using. If we know what you've modified, we can help you better.
I can tell you though, that connection sharing in Linux is just a matter of setting up NAT correctly. It's a little confusing at first, but once you get used to it, it's a cake walk.
just to get the setup straight:
is the XP computer connected directly to the RH box
and if so, it is with a X-over cable right, and not the
regular straight through.
yeah it's physically connected properly with a crossover cable
i beleive the things i typed in where echo > (insert stuff here to turn on IPV4 forwarding :P)
then something else (sorry not being too helpfull here, ill try and find it)
would rpm -e iptables help or would it destroy any chance my machine has of connecting :P
its really strange because now ppoe can't even connect..
ok at the very least you should be able to ping just from putting
the cable connection in and having them on the same subnet
192.168.0.X. Try that without being connected to the internet. Just
hook up the 2 computers, get the IP stuff straight, and try to ing
between the 2.
|All times are GMT -5. The time now is 04:19 AM.|