Networking Forums

Networking Forums > Computer Networking > Linux Networking > iptables, proxy ftp via frox

Reply
Thread Tools Display Modes

iptables, proxy ftp via frox

 
 
jacob.saxberg@gmail.com
Guest
Posts: n/a

 
      04-06-2006, 01:20 PM
I am trying to make connections to port 21 go via frox like this:

# iptables -v -t nat -A PREROUTING -s localhost -p tcp -m tcp --dport
21 -j REDIRECT --to-ports 2121
REDIRECT tcp opt -- in * out * 127.0.0.1 -> 0.0.0.0/0 tcp dpt:21
redir ports 2121

But it doesn't seem to work:
# tail /var/log/frox.log
Thu Apr 6 15:12:53 2006 frox[10442] Listening on 0.0.0.0:2121
Thu Apr 6 15:12:53 2006 frox[10442] Bound to device eth0
Thu Apr 6 15:12:53 2006 frox[10442] Dropped privileges

Any idea what's wrong?
jacob

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP caching proxy - frox makes troubles mprzed Linux Networking 0 07-05-2005 12:19 AM
iptables proxy two ips for one host Fritz Bayer Linux Networking 2 07-12-2004 06:50 AM
IPTABLES, router, and proxy server... Edward Cho [387036] Linux Networking 0 06-24-2004 02:57 AM
iptables transparent proxy Cameron Kerr Linux Networking 7 06-14-2004 08:57 AM
Proxy and iptables Francesc Llop Linux Networking 1 04-21-2004 07:57 AM



1 2 3 4 5 6 7 8 9 10 11