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

Change SMTP IP & Webtraffic IP

Hello,

where can i control which IP is used for surfing ?
Is this ip automatically the IP with the default gateway ?

Greets
Stephan


This thread was automatically locked due to age.
Parents Reply Children
  • Hi,

    sorry for Hijacking this, but I have the exact same question.
    I have two mail servers which serves different mail domains, and both have different public IP addresses.

    I've managed this with the additional address feature for the WAN interface.
    Emails are up and running, but filtered by some ISP with reverse MX lookup.

    What I tried is a SNAT rule:
    Position 1
    Rule Type: SNAT
    Traffic from: the internal network where the mail server is located
    Service: any
    Going to: any
    Change source to: interface address with different public IP than the WAN interface
    Change service to: blank
    Auto Firewall rule: checked

    This one does not have any effect at all.

    Then I tried a masquerading rule:
    Network: the internal network
    Position: 1
    Interface: WAN
    Use address: the additional address

     Again, no effect at all, whatismyip.com shows the IP from the WAN interface rather than that from the additional address.

    Any clue what I might do wrong?

    Thanks and best regards,
    Matthias
  • Hi,

    Update: the only way to change my IP to the additional address is an SNAT rule with Source: WAN and destination WAN (additional address)

    But since I only have one WAN interface, this way I cannot assign another IP to the second mail server.

    Does anyone has an idea how I could get this config up and running?

    Tnx and best regards,
    Matthias