Current time: 04-20-2024, 07:20 PM Hello There, Guest! (LoginRegister)


Post Reply 
DNSmasq
Author Message
JCircle Offline
Junior Member
*

Posts: 32
Joined: May 2011
Reputation: 0
Post: #3
RE: DNSmasq
This is more of a hack than a fix, but sometimes can work and i would have to play around and make sure it works, ill do this tonight.

You can fake the system into thinking it IS the external IP address.

ifconfig
eth0 192.168.0.100 <-- internal
eth0:1 172.21.21.21 <--- external

set your routing to use eth0 gateway and all
map your firewall holes to your 192.168.0.100 ip
your dns should answer back with your external ip address as well as apache vhosts should work.

Ill test this tonight using the current build but I have used this work around for a 3rd dns server before.

NOTE: this is a single server build, already noted this is a quick hack to make something work, (before you flame it Smile )
05-26-2011 12:08 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
DNSmasq - Bas232 - 10-30-2010, 10:21 PM
RE: DNSmasq - motokochan - 12-02-2010, 02:38 AM
RE: DNSmasq - JCircle - 05-26-2011 12:08 PM
RE: DNSmasq - joximu - 05-26-2011, 06:39 PM
RE: DNSmasq - JCircle - 05-29-2011, 10:03 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)