Hi all,
I can't configured my computer for the NAT with my Speedtouch.
My first computer has get an eth0 ethernet card (realtek 8092, right
configured, I think...) and my Speedtouch USB modem for an ADSL internet
connection.
I want to share this connection with my second compter.
When I start my first computer with the Speedtouch configured I can rush
what I want, but when I active the eth0 and I want to ping something, the
computer goes only to the gateway of my LAN and doesn't forward the request
to my ppp0 device.
I have configured the ip_forward like this :
$> echo 1 > /proc/sys/net/ipv4/ip-forward
and my iptables like this :
$> iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
$> iptables -A INPUT -m state --state NEW -i ! ppp0 -j ACCEPT
$> iptables -P INPUT DROP #only if the first two are succesful
$> iptables -A FORWARD -i ppp0 -o ppp0 -j REJECT
or like this :
iptables -F FORWARD
iptables -F INPUT
iptables -P FORWARD ACCEPT
# not sure if next two are needed or not
iptables -A INPUT -i eth0 -j ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i ppp0 -p tcp --syn -j DROP
iptables -t nat -F POSTROUTING
# next rule is wrong, but DHCP fails if ACCEPT is DROP
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
but it still not working.
For the ppp0 device, the DHCP is used and for the LAN is static IP.
Another problem, when I try to activate my modem (ppp0 device) by the GUI
KDE interface, it doesn't work.
The last problem is I can't read mp3 files.
I try to upgrade the my version of XMMS (1.2.7) to the last one (1.3). I
don't receve any error message but when I want to load the XMMS is the
version 1.2.7 that is loaded, I don't understand!!!
Bye, thaks in advance.
Geoffroy
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: NAT and speedtouch under RH 8.0 Geoffroy Hallard
- Re: NAT and speedtouch under RH 8.0 Jason Costomiris