D57452
Junior Member

Posts: 36
Joined: Oct 2007
Reputation: 0
|
2 ip(internal / external)
anyone like me that the machine installed ispcp behind the router?
once i installed the ispcp and entered 192.168.0.x for the server ip, all ips in bind databases become 192.168.0.x
while i enetered 61.92.109.x(my WAN ip), all ips in apache's configuration file becomde 61.92.109.x...
i need to change some files manually to keep the server working,
is it good to have internal and external ip for ispcp?
|
|
| 11-13-2007 07:27 PM |
|
mata
Moderator
    
Posts: 52
Joined: Feb 2007
Reputation: 0
|
RE: 2 ip(internal / external)
hi all,
i've had a lot of experience trying to have an isp-cp behind router ..
Problem 1 : templates apache/bind/mail are not made for and internal and external ip
Problem 2 : My external IP is dynamic
Solution : edit bind templates every time your external adress changes
maybe someone can make a no-ip.com kinda script for linux server to update ip everytime the external ip changes. would be a great addon to isp-cp ... ability to install and use it at home from dynamic IP
Mvg,
Mata
http://www.ezh.be - http://mata.ezh.be
|
|
| 11-15-2007 05:55 PM |
|
mata
Moderator
    
Posts: 52
Joined: Feb 2007
Reputation: 0
|
RE: 2 ip(internal / external)
wicked .. sticky tis  .. i'm sure more will have this question in the future.
yeah thats how i did it .. put the nameserver on different server .. but then ispcp cant manage it ..
Mvg,
Mathias
http://www.ezh.be - http://mata.ezh.be
|
|
| 11-15-2007 06:57 PM |
|
victor531
Junior Member

Posts: 102
Joined: Oct 2007
Reputation: 0
|
RE: 2 ip(internal / external)
I have mi IspCP running behind a router with a dinamyc IP without problem.
Do this in the installation
1.- Put the local IP of your server in the address Ip for IspCp ( 192.168.XXX.XXX)
2.-Create in your Ispcp your domain normally
3.-Open a account in Zoneedit.com and registry your domain ( free)
4.-For each domain in Zoneedit.com you will have a NS1 and NS2
5.-Fill whit your dinamyc IP the ADDRESS FIELD in --www.yourdomain.tdl -- * . yourdomain.tdl -- yourdomain.tdl in the zoneedit form ( the three of them)
6.-Create a MX server for your email
7.-After that, put these NS1 and NS2 in the domain pointer of your NIC
If your Ip change continously , install the ddclient package (apt-get install)
and the config template ( etc/ddclient.conf) should look like :
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
pid=/var/run/ddclient.pid
protocol=zoneedit1
use=web, web=checkip.dyndns.org
server=www.zoneedit.com
login=yourlogin
password='yourpass'
domain1.tdl,*.domain1.tdl,domain2.tdl,*.domain2.tdl
And make a config to run ddclient as daemon , the when your Ip change , the ddclient will change your old IP for your new Ip in zoneedit
in a few second.
Easy and nice, enjoy it
No desesperes, lo Ășnico permanente es el cambio.
(This post was last modified: 12-08-2007 06:47 AM by victor531.)
|
|
| 12-08-2007 06:45 AM |
|