prax.cr icon indicating copy to clipboard operation
prax.cr copied to clipboard

ip6tables v1.4.14: unknown option "--to-ports"

Open swcraftsmen opened this issue 7 years ago • 1 comments

I am running Wheezy with Kernel version 3.16.0-0.bpo.4-amd64. I got the following message when I tried to install prax.

ip6tables v1.4.14: unknown option "--to-ports" Try 'ip6tables -h' or 'ip6tables --help' for more information. dpkg: error processing prax (--install): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: prax vagra

swcraftsmen avatar Apr 14 '17 17:04 swcraftsmen

I have ip6tables v1.4.21 (ubuntu trusty) and I have no problem with it. Maybe ip6tables 1.4.14 doesn't support REDIRECT?

Based on http://stackoverflow.com/a/11085765/199791 maybe the following would work better:

-j TPROXY --on-port PORT

instead of:

-j REDIRECT --to-ports PORT

EDIT: yes, REDIRECT is only supported by ip6tables v1.4.18+

ysbaddaden avatar Apr 18 '17 09:04 ysbaddaden