View previous topic :: View next topic |
Author |
Message |
akronix n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Feb 2004 Posts: 1
|
Posted: Sat Feb 28, 2004 10:35 pm Post subject: Static IP Address on DSL Account and Services Compatability |
|
|
Hey all!
I have a DSL line with a static IP address and would like to set up a server running Apache, Bind, Postfix, etc behind my firewall. I have some questions regarding how the services will report addressing. Let me explain the setup...
DSL modem running in 'bridge' mode, which basically just passes all traffic though it.... to my SMC 4 port wireless router. I've set up the SMC with the static IP on the WAN side (202.139.44.x) and a local address (192.168.1.2) on the lan side. I'm hoping to use the firewall features of the SMC and just forward the ports I need to open to the server inside the lan (192.168.1.10). I've done this and it seems to work ok. I can ssh into the server from inside the lan on 192.168.1.10 and from outside on 202.139.44.x.
MY concern is that services like apache, bind or postfix may need to report an IP of 202.139.44.x when doing their thing and since they're on the lan side and don't bind to that address, this will cause me problems. Specifically I'm concerned that other mail servers will won't be able to do reverse lookups against my name server and that'll cause me problems.
I've searched the forums here and elsewhere, but am still kind of stuck as to how this can be accomplished. How are other people handeling this problem and what are some of my options. I really want to be able to run my own primary DNS, because it's more convienient. I will be able to run secondary off site at a later date.
Any feedback?
thanks,
Erik |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
byrnerat101 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/133443597940c7c6946e11b.jpg)
Joined: 30 Sep 2003 Posts: 106 Location: upstate, NY
|
Posted: Sun Feb 29, 2004 2:58 am Post subject: |
|
|
im doing the same thing you are... im bridge the dsl into my router then port forward the ports into my server... i use www.dyndns.org to give me a domain and i bind it to the ip adress of the dsl modem... go to whatsmyip.com when your on the server so that you can see the ip that the internet see's you as and use that to bind to the domain at dyndns |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EvilTwinSkippy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 20 Feb 2003 Posts: 63 Location: Philadelphia, PA
|
Posted: Sun Feb 29, 2004 12:21 pm Post subject: No worries |
|
|
Erik,
What you are doing is a standard NAT firewall. Companies use a similar system to keep their datacenters from directly touching the unwashed masses. All the clients on the internet see are the public IP addresses. Apache only gets wierd when it tries to re-map whatever domain address a client used to access the page into the proper name of the system.
That feature, of course, can be turned off.
The reverse DNS issue really isn't one. The outside world reverse-lookups to whatever your ISP has named the external IP.
The only place you can get into trouble is if more than one server is trying to NAT through the same address. Which doesn't sound like the case. _________________ I've found that people will take what you say more seriously if you tell them Ben Franklin said it first. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|