33 reputation
4
bio website
location
age
visits member for 11 months
seen Oct 13 at 11:41

Jan
10
comment routing table vs PF precendence
any thoughts about how to do that?
Jan
6
comment routing table vs PF precendence
Thanks Chris. N knows how to route to V but not M. V knows how to route to M though because there is a tunnel between them. I want all the traffic that doesn't belong to N to go to V on a specific interface. I have added my PF rules in that question. I suspect that my redirect rule is faulty. I would appreciate if you help me with it. I also don't understand what you mean by 'V has to route back through V.'
Jan
6
awarded  Editor
Jan
6
revised routing table vs PF precendence
added pf.conf content
Jan
2
comment routing table vs PF precendence
I am developing a VPN app running on a BSD server (lets call it V) and mobile clients (M). The clients send packets with private IPs. I also have a NATing server using PF (N). M sends requests to V, which forwards the traffic to N, which then NATs and send the traffic to the internet. When N reverses the NATing, the packet's destination is private and doesn't belong to this LAN. I want to redirect this traffic using PF to V again to send the traffic to M through the established tunnel. Can redirection rules work here? I hope this clarifies the situation. Thanks!
Jan
2
comment routing table vs PF precendence
Thanks. So I have a BSD machine that runs NATing using PF. After de-nating, I want to force some packets to be routed to a machine in the LAN behind the NAT machine while not messing with the packet. Can PF help in achieving that?
Jan
2
awarded  Scholar
Jan
2
accepted routing table vs PF precendence
Jan
2
awarded  Supporter
Jan
2
comment routing table vs PF precendence
so if i have a redirect rule in my PF ruleset that doesnt comply with the routing table, the PF rules wins?
Jan
1
asked routing table vs PF precendence
Dec
26
comment Redirection with natd flags on FreeBSD
Thanks a lot. I tried this rule, and added several other after it to allow traditional traffic. It doesn’t work as I expected. Several things that I am not sure about. 1- should this rule show up when i use 'ipfw list' because it doesnt for me? 2- The NAT machine acts as a gateway so I want it to be able to DNS and what not without redirection. Any thoughts?
Dec
24
awarded  Student
Dec
24
asked Redirection with natd flags on FreeBSD