ravi varma
|
Port forwarding not permanent with proxyarp & net.inet.ip.forwarding flag
|
ravi varma
11/21/2008 8:36 AM
post17051
|
Port forwarding not permanent with proxyarp & net.inet.ip.forwarding flag
Hi
We have network consisting of three systems.
A - source
B - acting as router
C - destination
Between A-B we have UDP running over ethernet. Between B-C we need PPP over serail port.
and on On B i executed follwoing command:
pppd/dev/ser1 proxyarp 115200 192.168.0.35:192.168.0.45
this is to enable port frowarding so that A can directly send data on IP adress of C.
Also did sysctl -w net.inet.ip.forwarding=1.
But i am observing that port forwarding is working fine, but after some time it is automatically loosing.
After i restart pppd and enabling port forwarding again then it is resuming. But in actaul system
there is no feassibility to do the same. What should i do to ensure relaible connection.
Thanks
Ravi
|
|
|