Destination NAT from web interface

Home Page Forums Network Management Request a new feature Destination NAT from web interface

This topic contains 1 reply, has 0 voices, and was last updated by  vmv4 11 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40853

    vmv4
    Member

    Our LAN has internal web server and mail server.
    I configured ZeroShell (menu “Router”->”Virtual Server”) to forward all requests on 80, 443 and 25 ports to internal IP address.
    I think I configured SNAT, but I want DNAT to be able to see visitors IP addresses.
    Is it possible to add this ability to ZeroShell?

    P.S. Maybe I can add something like

    /sbin/iptables -t nat -A PREROUTING … -J DNAT –to-destination …

    to startup via menu “Setup”->”Startup” ?

    Thanks in advance

    #46070

    imported_fulvio
    Participant

    The Virtual Server already works by using DNAT. Try with the 1.0.beta7 release and you will see the real source IP of the packets.

    Regards
    Fulvio

    #46071

    vmv4
    Member

    Thank you very much for reply

    It’s my fault.
    I made a mistake when I configured LAN interface as a “NAT Enabled Interfaces”.
    Today I removed it from that list (menu “Router”->”NAT”) and I can see every visitors IP.
    😳

    I think it’s better to remove this thread

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.