This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need help configuring ports for HTTP & POP3

Hi All,

I’m having a hard time trying to figure out how to get my POP3 and HTTPS ports open and how to direct the requests to the right server.  I’ve read all the information that I could find on this site, but no luck.  By the way, I’m new at this, so please don’t flame me to badly.  This is my setup:

Eth0=192.168.x.x
Eth1=201.2.x.x
Nat= Masquerade
Packet Filter= any any any allow

Would someone please give me a step-by-step instruction on how to get traffic to and from my web and mail server?

Thanks.

PS:  I did read the manual, RTFM.
PPS: Since I can't get the ports to my mail server open, please send responce to jdzimmerm@hotmail.com.


This thread was automatically locked due to age.
Parents Reply
  • ok, what you need is a DNAT rule for POP3 and HTTP/HTTPS. Inbound SMTP can be done with the SMTP relay (or DNAT as well). 

    Let's say your external interface is called eth1 and has the IP 1.2.3.4, the http server has 192.168.0.1.

    1) create a definition for the http server, let's say http_server 192.168.0.1/32
    2) create a DNAT rule ANY -> eth1_Interface/HTTP -> http_server/HTTP
    3) create a packet filter rule ANY -> http_server/HTTP -> Allow

    Now if you try http://1.2.3.4 it should do the trick. The other services can be done similar.
Children