Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Routing traffic between 2 server with public IP

    Routing and Multi WAN
    1
    1
    766
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      opti2k4
      last edited by

      Hi,

      I have 2 servers with a public IP. There is site-to-site VPN created between them (transport mode , openswan). Lets say 1st server is front end, 2nd server is back end. On 2nd server openvpn is installed. I want to use 1st server as intermediate server for Openvpn meaning when i "dial" VPN on TCP port 443 on 1st server, request is routed trough the tunnel to actual VPN server where vpn connection will be established. VPN access on backend server will be denied for all traffic except the one coming from the IPsec tunnel. Can i achieve this using combination o iptables and routing? Can i force destination traffic trough the tunnel?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post