ufw

Comment 6 for bug 247455

Revision history for this message
slavik (gslavik) wrote :

What about adding a "via" keyword.

I only recently found ufw and it is awesome. I learned how to use ipfw on FreeBSD and was somewhat surprised that there wasn't something similar.

Below is what ipfw rules look like to do natting
# ipfw -q add allow tcp from any to any 80 out via tun0 setup keep-state
# ipfw -q add allow tcp from any to 192.0.2.11 53 out via tun0 setup keep-state
# ipfw -q add 00611 allow udp from any to 192.0.2.11 53 out via tun0 keep-state

Regards,
Slavik