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

    DNS forward to virtual device on a Linux Server

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 1.6k 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.
    • L
      LoCrux
      last edited by

      ThanX for your effords in advance…

      I just try to setup my own server, for this I created several virtual devices on my server (ubuntu 10.04.1).
      At my domain hosters page I created a subdomain e.g.  ftp.mydomain.eu and pointed the A-Record to my IP (static).
      Now I want all the ftp access through my virtual device eth0:2 (set to 192.168.42.223). For that I created a virtual FTP server
      using proFTPd only responding to 192.168.42.223. From inside my LAN I have no proplems accessing the virtual server.
      From WAN side (took a 30m patch cable to my neighbours router) I always end up at the default FTP server.

      At the pfSense DNS forwarder I tried every combination to forward to my virtual eth0:2 device.

      eg
      host: ftp
      domain: ftp.mydomain.eu
      ip: 192.168.42.223

      or
      host: ftp
      domain: mydomain.eu
      ip: 192.168.42.223

      always ending up at the standard server from WAN.

      So is there a way to forward to the eth0:2 IP?
      Or is there a possibility to assign a static DHCP lease to the virtual IPs?

      P.S.

      I also tried to assing the eth0:2 IP to pfSense's Virtual IP addresses.
      Type: Other
      Interface: LAN
      IP Address(es): Single Address / 192.168.42.223

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