DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Vigor 2820 set up question
- bergerc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
07 Oct 2009 15:31 #1
by bergerc
Vigor 2820 set up question was created by bergerc
I have a Vigor 2820n and have a question about part of its setup.
I have recently set up a Linux box on my home network which runs various servers (apache, IMAP mail etc) which I want to expose to the outside world.
The server has a static IP address on my internal network and I have allocated a FQDN to it and set up DNS records to map that name to one of my allocated IP addesses so it can be accessed from outside my network.
I have also set up port forwarding rules on the Vigor to forward certain services to the appropriate port on the server.
What I want to be able to do is access the server from within my home network using the FQDN. Currently I have hard coded the hosts file on each of my PCs to override the IP address that is configured in the DNS in the outside world.
The problems with this are:
1) I can't set up a hosts file on my Android phone to enable it to access the server when connected to my home network using WiFi (when using 3G/GPRS it can see the server fine)
2) conversely, if I am away from home with my laptop and 3G modem the hosts file would override the DNS entry and I would have to edit that to gain access remotely
I'm sure it's possible to do this - I just don't know how. Can anyone help?
I have recently set up a Linux box on my home network which runs various servers (apache, IMAP mail etc) which I want to expose to the outside world.
The server has a static IP address on my internal network and I have allocated a FQDN to it and set up DNS records to map that name to one of my allocated IP addesses so it can be accessed from outside my network.
I have also set up port forwarding rules on the Vigor to forward certain services to the appropriate port on the server.
What I want to be able to do is access the server from within my home network using the FQDN. Currently I have hard coded the hosts file on each of my PCs to override the IP address that is configured in the DNS in the outside world.
The problems with this are:
1) I can't set up a hosts file on my Android phone to enable it to access the server when connected to my home network using WiFi (when using 3G/GPRS it can see the server fine)
2) conversely, if I am away from home with my laptop and 3G modem the hosts file would override the DNS entry and I would have to edit that to gain access remotely
I'm sure it's possible to do this - I just don't know how. Can anyone help?
Please Log in or Create an account to join the conversation.
- bergerc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
09 Oct 2009 14:32 #2
by bergerc
Replied by bergerc on topic Can someone tell me how to set up NAT loopback?
OK, so it seems that the terminology for what I want to do is NAT Loopback. I have searched high and low but cannot find any guidance how to set this up.
Anyone able to help?
Anyone able to help?
Please Log in or Create an account to join the conversation.
- fork
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
12 Oct 2009 09:48 #3
by fork
Fork.
Replied by fork on topic Vigor 2820 set up question
One way to do this would be to have your Linux box run DNS on your internal network. The Linux DNS package is called 'bind'.
Your DrayTek can still hand out the DHCP IP addresses, and it gives these devices (eg your Android phone) the IP of the Linux server as the DNS server.
Your Linux server then has a DNS zone file for your FQDN that resolves to the internal addresses for the services you are offering.
Make sense?
Your DrayTek can still hand out the DHCP IP addresses, and it gives these devices (eg your Android phone) the IP of the Linux server as the DNS server.
Your Linux server then has a DNS zone file for your FQDN that resolves to the internal addresses for the services you are offering.
Make sense?
Fork.
Please Log in or Create an account to join the conversation.
- howard simpson
- Offline
- Member
-
Less
More
- Posts: 192
- Thank you received: 0
12 Oct 2009 10:47 #4
by howard simpson
Howard
Replied by howard simpson on topic Vigor 2820 set up question
I think if you look at the release notes for the latest software they state that loopack is broke!
Howard
Please Log in or Create an account to join the conversation.
- bergerc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 Oct 2009 14:03 #5
by bergerc
Very true - which is one reason why I'm not using it! Currently using firmware version 3.2.1 which is what it shipped with.
Replied by bergerc on topic Vigor 2820 set up question
I think if you look at the release notes for the latest software they state that loopack is broke!Howard Simpson wrote:
Very true - which is one reason why I'm not using it! Currently using firmware version 3.2.1 which is what it shipped with.
Please Log in or Create an account to join the conversation.
- bergerc
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 Oct 2009 14:05 #6
by bergerc
Yes - this makes sense and I'm sure I could get this working. I was just under the impression that configuring NAT loopback on the router would make this unnecessary.
Replied by bergerc on topic Vigor 2820 set up question
One way to do this would be to have your Linux box run DNS on your internal network. The Linux DNS package is called 'bind'.Fork wrote:
Your DrayTek can still hand out the DHCP IP addresses, and it gives these devices (eg your Android phone) the IP of the Linux server as the DNS server.
Your Linux server then has a DNS zone file for your FQDN that resolves to the internal addresses for the services you are offering.
Make sense?
Yes - this makes sense and I'm sure I could get this working. I was just under the impression that configuring NAT loopback on the router would make this unnecessary.
Please Log in or Create an account to join the conversation.
Moderators: Sami
Copyright © 2024 DrayTek