10/24/2013 6:14 PM
post106239
|
One quick update. I did find a way to set IP fowarding with sysctl:
sysctl -w net.inet.ip.forwarding=1
However, I am still not getting packing to redirect out of the box.
> Mitchell,
>
> Can you post your solution for getting the packet forwarding resolved? I am
> trying a similar thing using pf to redirect a port to another machine. My
> redirect logic is working fine. I tested by redirecting a high port (4000) to
> localhost port 21 and verifying I could telnet to the box on port 4000.
>
> rdr pass on @int_if inet proto tcp from any to any port 4000 -? 127.0.0.1 port
> 21
>
> The problem I am running into is getting PF to forward my packet. I have tried
> to put a line in /etc/sysctl.conf
> net.inet.ip.forwarding=1
>
> But, like you, that does not work.
>
> When I enter the forward option through io-pkt-v4 (below) all of my interfaces
> disappear when I do an "ifconfig -a".
>
> # io-pkt-v4-hc -ptcpip forward
>
> Can someone please explain how to turn packet forwarding on correctly with QNX
> 6.5 and have it persist on reboot? Thanks!
|
|
|