Displaying 1 result from an estimated 1 matches for "tincrem_ip".
2003 Sep 08
0
Real solution for OpenBSD masq firewall w/udp connections
...e changes to pf in future OpenBSD updates :)
The NAT syntax is like this (put this in your /etc/pf.conf file)
# Name of the external (Internet-facing) interface
ext_if="fxp0"
# IP address of the local tinc instance
tincloc_ip="10.3.4.5"
# IP address of the remote tinc instance
tincrem_ip="30.40.50.60"
# Nat all UDP packets from the local tinc instance with a source port of
655
# destined for the tinc remote IP to the IP address of the external
interface
# port 655
nat on $ext_if inet proto udp from $tincloc_ip port = 655 to $tincrem_ip
-> \
($ext_if) port 655
# <...