The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Webmail, Port redirect with APF

Discussion in 'E-mail Discussions' started by odesia, Jul 2, 2004.

  1. odesia

    odesia Member

    Joined:
    Jun 14, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    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. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    if you do a search on proxy here, you'll find alot of good info that should help :)
    Mickalo
     
  3. odesia

    odesia Member

    Joined:
    Jun 14, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I dont want to put a proxy :( :confused:
     
Loading...

Share This Page