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

    NAT doesn't work to LXC with dual nic

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 Posters 1.1k Views
    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.
    • F
      Fidelix
      last edited by

      Hello everyone.

      I've got a REALLY strange issue (at least to me).

      I'm using Proxmox.
      My LXC container has WAN and LAN.
      My KVM PFSense has WAN and LAN.
      The LXC and PFSense are connected to each other via LAN.

      Now, the issue:
      When I port forward stuff from PFSense to my LXC, it simply doesn't work. Monitoring states, I see CLOSED:SYN_SENT.
      It works fine if I forward to an LXC that only has LAN (no WAN), or if I make the LAN the primary device on my LXC (but then direct access from WAN stops working).

      Is this a problem with Proxmox, my NAT rule, or am I doing something stupid in a fundamental level?

      My NAT rule:
      http://i.imgur.com/7gOaz5v.png

      Thanks in advance!

      UPDATE:
      If I ssh into pfsense and curl the LXC on port 8080 (which is what I'm forwarding TO), I get back the expected response (html page).
      I can also ping it, telnet the ports I want, etc. The only thing that doesn't work is my bloody NAT rule ):

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.