Results 1 to 3 of 3

Thread: Webmail, Port redirect with APF

  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    15

    Default Webmail, Port redirect with APF

    Hi

    I have APF and I want to redirect the port 2096 to a specifique ip address xxx.xxx.xxx.xxx:80

    Because some of employe can't acces the mailbox because he are beside a firewall of client.

    I have try this :

    iptables -N nat
    iptables -t nat -A PREROUTING -i eth0 -d xxx.xxx.xxx.xxx -p tcp --dport 80 -j REDIRECT --to-port 2096

    but this is not work!

    What I can do?

  2. #2
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    755

    Default Re: Webmail, Port redirect with APF

    Originally posted by odesia
    Hi

    I have APF and I want to redirect the port 2096 to a specifique ip address xxx.xxx.xxx.xxx:80

    Because some of employe can't acces the mailbox because he are beside a firewall of client.

    I have try this :

    iptables -N nat
    iptables -t nat -A PREROUTING -i eth0 -d xxx.xxx.xxx.xxx -p tcp --dport 80 -j REDIRECT --to-port 2096

    but this is not work!

    What I can do?
    if you do a search on proxy here, you'll find alot of good info that should help
    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  3. #3
    Member
    Join Date
    Jun 2004
    Posts
    15

    Default

    I dont want to put a proxy

Similar Threads

  1. How to map webmail.domain.com to webmail without any port?
    By online8 in forum E-mail Discussions
    Replies: 6
    Last Post: 09-08-2012, 01:02 AM
  2. Iptables redirect internal port - remote mysql
    By grzeg in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-12-2008, 04:13 AM
  3. APF question - Port priority
    By _xandih in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-16-2007, 12:31 PM
  4. APF blocking port 110
    By Valuehosted in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 08-19-2005, 08:38 PM