View Single Post
  #1   (View Single Post)  
Old 19th June 2014
bryn1u bryn1u is offline
Port Guard
 
Join Date: May 2009
Posts: 19
Default Cannot redirect oidentd port 113 to jail

Hey everyone, i have a problem with redirection of oident port 113 to jail. I want to share irssi for users but they connect without static ident. For example "~user@host" instead "users@host". Whey try from host, works vell. Where could be problem ?

My /etc/pf.conf

Code:
IP_PUB="178.xxx.xxx.xxx"
IP_JAIL="192.168.0.1"
NET_JAIL="192.168.0.0/24"
PORT_JAIL="{80,31337,6667,113,12345}"

################ Translation 
### NAT and Redirection rules are first match ###

 nat pass on em0 from $NET_JAIL to any -> $IP_PUB
 rdr pass on em0 proto tcp from any to $IP_PUB port $PORT_JAIL -> $IP_JAIL
Thanks for all advices.
Reply With Quote