|
FreeBSD Security Securing FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
p3scan with PF --> Target IP PROBLEM!!
Hi, I'm Nicola from Italy...
I installed on my freebsd 6.2, P3Scan 2.3.2 It works properly only if specific manually and statically: targetip = IP address MY PROVIDER targetport = 110 Although I created the rule firewall PF: rdr on rl0 proto tcp from rl0:network to any port 110 -> 127.0.0.1 port 8110 does not work ... Output p3scan in debug mode: ------- Server p3scan[513]: Connection from 10.0.0.2:60938 Server p3scan[513]: Real-server adress is 0.0.0.0 Server p3scan[513]: Cannot connect to real-server ------- or, on another machine ------- Server p3scan[513]: Connection from 10.0.0.2:60938 Server p3scan[513]: Real-server adress is 10.0.0.1 Server p3scan[513]: Oops, that would loop! ... ------- Can you help? THANKS Nicola Last edited by alternico; 13th May 2008 at 06:34 PM. |
|
|||
Quote:
Code:
rdr pass on rl0 proto tcp from rl0:network to any port 110 -> 127.0.0.1 port 8110 |
|
||||
You need to post more info for more help.
Code:
# tcpdump -eni pflog0
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
|||
Quote:
afternoon place everything that I asked you. I wanted to know that, perhaps I can not access the file pf.conf, because use pfSense (distro firewall based on FreeBSD) |
|
||||
Quote:
/S
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
|||
It's not that you can tell me what are, for each regular following iptables, the rules that match in PF:
Code:
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110 iptables -t nat -I OUTPUT -p tcp --dport 110 -j REDIRECT --to 8110 |
|
||||
Quote:
Code:
rdr on rl0 proto proto inet tcp \ from any to (rl0:0) port 110 \ tag MYRDR110 -> 127.0.0.1 port 8110 # ... pass in log quick on rl0 inet proto tcp \ tagged MYRDR110 keep state #
__________________
Never argue with an idiot. They will bring you down to their level and beat you with experience. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boot problem. Geometry problem? | gulanito | FreeBSD Installation and Upgrading | 0 | 3rd July 2009 03:03 AM |