cat if_foward reports 1
here is my ifconfig:
eth0 Link encap:Ethernet HWaddr 00

0:59:1C:99:9A
inet addr:172.23.132.114 Bcast:255.255.255.255
Mask:255.255.224.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2001 errors:0 dropped:0 overruns:0 frame:0
TX packets:782 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:253498 (247.5 Kb) TX bytes:84326 (82.3 Kb)
Interrupt:11 Base address:0x3440 Memory:41280000-41280038
eth1 Link encap:Ethernet HWaddr 00:50:FC:F3:3E:07
inet addr:192.168.1.1 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:890 (890.0 b) TX bytes:540 (540.0 b)
Interrupt:11 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7499 errors:0 dropped:0 overruns:0 frame:0
TX packets:7499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:511595 (499.6 Kb) TX bytes:511595 (499.6 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:84.94.134.2 P-t-P:212.199.26.110
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:458 errors:0 dropped:0 overruns:0 frame:0
TX packets:461 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:126163 (123.2
here is my route -n:
Destination Gateway Genmask Flags Metric Ref Use
Iface
212.199.26.110 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
212.199.26.28 172.23.128.1 255.255.255.255 UGH 0 0 0
eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
172.23.128.0 0.0.0.0 255.255.224.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 212.199.26.110 0.0.0.0 UG 0 0 0
ppp0
here is my iptable:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
the client has a fixed ip and the dns are hard coded into it.
stil pinging the gatway 212.199.26.28 from the client does yield
results
Mihai Osian wrote:
> Elhanan wrote:
>
> >hi all
> >
> >i'm a newbie to linux (natrually) and i'm using RH becouse it's the
> >stanrard.
> >
> >
> (offtopic) I wouldn't call any Linux distibution a "standard"...
>
> >my current configuration is this, 4 pc's all windows, connected to
a
> >switch one pc is winxp pro which also has emule and serves as the
> >dialer sharing for a cable modem.
> >
> >i wanna transfer the connection to a compaq E500 notebook which will
> >serve as the router and firewall. the E500 has one internal ethernet
> >card, and one EDIMAX pcmcia card. both are working fine (although at
> >boot up linux does bring up automatically the edimax,but ifup does
work
> >with it).
> >
> >
> Personally I wouldn't use a notebook as server, but anyway...
>
> >my ISP provided an PPTP connection install script which works, (on
both
> >cards) but from then on, i'm in the dark i've tried several
> >configuration instuctions (like from RH BIBLE book) and scripts all
> >leading to the same results, on dmsg i can see the client (win xp)
> >trying to connec to the router as i see it's ip address (of the
winxp
> >station) sends packets out to an outside ip, but it doesn't get
> >anything back.
> >
> >i'm now re-installing rh 9 (from 10nth) time, a typical server
> >installtions (plus server tools) and if u can help me step by step
to
> >figure out what's going on i'll be very happy.
> >
> >
> >
> You can start by showing us the script from your ISP. Also, run the
> following commands as root, and tell us the output:
>
> cat /proc/sys/net/ipv4/ip_forward - should display "1". If it
displays
> "0", that's where the problem is. The way to solve it is by runing
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ifconfig - displays the IP address of each network interface
> route -n - displays the routing table
>
> Also, I recommend deactivating the firewall (if you have one) until
you
> manage to establish a connection. You can do it like this:
> iptables -P INPUT ACCEPT
> iptables -P FORWARD ACCEPT
> iptables -P OUTPUT ACCEPT
> iptables -F
> iptables -X
>
> The configuration of your windows machines could be also helpful.
The
> IP address for example - is it obtained automatically or is it fixed
?.
> If it is obtained automatically, you need a DHCP server running on
the
> Linux box. Then: how exactly did you test if the connection works:
with
> the web-browser or with a ping to an outside IP address ?
>
> And re-installing is a windoze thing. The nice thing about linux is
that
> it behaves consistently: if it works today it will work identically
> tomorrow. Idem if it doesn't work. You need to configure it, not to
> re-install.
>
> Mihai