Redirecting internal tcp connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I have a lpd server on a remote host that ISP blocks port 515. I try to use something like "lpr -Plp@xxxxxxxxxxxxxx:900" but lprng doenst seems to recognize the port argument. So, I think to use iptables to redirect TCP requests on port 515 to port 900 but I dont know how. I've tried the following:

#iptables -A OUTPUT -p tcp --dport 515 -j REDIRECT --to-port 900

This gives me a "iptables: Invalid argument"

Any ideas?





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux