Share internet connection/make a small server
Antonio Olivares
olivares14031 at yahoo.com
Wed Aug 31 12:58:04 UTC 2005
--- jludwig <wralphie at comcast.net> wrote:
> On Tuesday 30 August 2005 07:06 pm, Antonio Olivares
> wrote:
> > --- Alexander Dalloz <ad+lists at uni-x.org> wrote:
>
> > > > >
> > > > > iptables -A POSTROUTING -o eth0 -j
> MASQUERADE
> snip
> >
> >
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> Did you add rules for forwarding
> S.A
> iptables -A FORWARD -i eth0 -m state --state
> ESTABLISHED,RELATED -j ACCEPT
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe:
> http://www.redhat.com/mailman/listinfo/fedora-list
>
I have tried to connect from slax live cd and it does
not connect. I have done the following:
[root at rio ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U
0 0 0 eth1
10.154.19.0 0.0.0.0 255.255.255.0 U
0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U
0 0 0 eth0
0.0.0.0 10.154.19.1 0.0.0.0 UG
0 0 0 eth0
[root at rio ~]# service dhcpd status
dhcpd (pid 3899) is running...
[root at rio ~]# service network restart
Shutting down interface eth0:
[ OK ]
Shutting down interface eth1:
[ OK ]
Shutting down loopback interface:
[ OK ]
Disabling IPv4 packet forwarding:
[ OK ]
Setting network parameters:
[ OK ]
Bringing up loopback interface:
[ OK ]
Bringing up interface eth0:
[ OK ]
Bringing up interface eth1:
[ OK ]
[root at rio ~]# iptables -t nat -A POSTROUTING -o eth1
-j MASQUERADE
[root at rio ~]# service iptables save
Saving firewall rules to /etc/sysconfig/iptables:
[ OK ]
[root at rio ~]# service network restart
Shutting down interface eth0:
[ OK ]
Shutting down interface eth1:
[ OK ]
Shutting down loopback interface:
[ OK ]
Disabling IPv4 packet forwarding:
[ OK ]
Setting network parameters:
[ OK ]
Bringing up loopback interface:
[ OK ]
Bringing up interface eth0:
[ OK ]
Bringing up interface eth1:
[ OK ]
[root at rio ~]# service dhcpd status
dhcpd (pid 3899) is running...
[root at rio ~]# touch /var/state/dhcpd/dhcpd.leases
[root at rio ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U
0 0 0 eth1
10.154.19.0 0.0.0.0 255.255.255.0 U
0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U
0 0 0 eth1
0.0.0.0 10.154.19.1 0.0.0.0 UG
0 0 0 eth0
[root at rio ~]#
What should I do so that the problem gets fixed?
TIA
Antonio
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the fedora-list
mailing list