Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: IPTables redirect back to internal IP

  1. #11
    Join Date
    Nov 2009
    Location
    ChicagoLand
    Beans
    5
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: IPTables redirect back to internal IP

    Quote Originally Posted by adcburke View Post
    Aha!, think i have it cracked.
    adcburke,

    I might need to use this in the future.

    So that I understand...is the following diagram accurate for the iptables rules you listed?

    Code:
      [Internet]
         |
         | traffic to x.x.x.78
         |  V
         |  V
         |
     +--------------+
     | nat/iptables |--------[192.168.100.250]
     |    router    |
     +--------------+
       |eth1 
       |(x.x.x.74)
       |
    ---------------
           |
           |
          [general]
          [users]

  2. #12
    Join Date
    Aug 2011
    Beans
    7

    Re: IPTables redirect back to internal IP

    Quote Originally Posted by timhalo View Post
    adcburke,

    I might need to use this in the future.

    So that I understand...is the following diagram accurate for the iptables rules you listed?

    Code:
      [Internet]
         |
         | traffic to x.x.x.78 (x.74 was another ip on this      interface)
         |  V
         |  V
         |eth0
     +--------------+
     | nat/iptables |
     |    router    |
     +--------------+
       |eth1 
       |
       |- (VIRTUAL IP)-192.168.100.254
       |               |
       |               |- 192.168.100.250 (mailserver)
       | 
       |--- 192.168.1.254
           |
           |
          [general]
          [users]
    Is how this is setup. anyone connecting to the network end up on the 1 subnet
    Last edited by adcburke; September 3rd, 2012 at 02:44 PM. Reason: additional info

  3. #13
    Join Date
    Aug 2011
    Beans
    7

    Re: IPTables redirect back to internal IP

    Quote Originally Posted by SeijiSensei View Post
    I'd consider bringing your DNS server in house if you have such an unprofessional and uncooperative provider.
    Haha, yes that is the ultimate goal but we are not prepared for that yet, this is a bit of an interim solution

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •