Any Workaround for Installing in LAN?

Status
Not open for further replies.

playah12

Verified User
Joined
Jan 9, 2009
Messages
5
Hi,

I just installed CentOS on a VMWare Server Virtual Machine, because I want to try DA. I have a licence on my public IP.

The server has an IP address of 10.0.0.123/255.255.255.0.

I've read some posts of people who have DA working in such a situation, but they did not really explain how they got it working.

Does anybody know of a workaround to get the DA software installed in such a situation?

I need to test the software before we will purchase it. Also, as we aren't yet in a Data centre, the only option for us testing the software is in such an environment, or maybe someone has another option?

thanks
 
You would have to port forward from your router to your internal ip.
 
I posted a way to do this in detail some time ago. You'll have to search for it.
 
Well. I found the post mentioned. But still no luck.

At the point the script is getting the update.tar.gz from the server the script gives a time out.

here's what I did.

eth0 -> 10.0.0.xx (local Ip)
eth0:0 -> public Ip

run setup

is eth0 the interface with the licence IP? -> yes
is 10.0.0xxx the ip number ? -> no
what is the ip? -> enter public ip

is this correct > y

downloading starts...

at the point the wget starts downloading the update from directadmin, the script generates a time out.

any suggestions?
 
A tcpdump would show that the script is trying to send out packets to the internet with the registered public IP address as SOURCE.

This will overcome that issue :

iptables -t nat -A POSTROUTING -s aa.bb.cc.dd -j SNAT --to-source ww.xx.yy.zz

aa.bb.cc.dd = public registered IP address
ww.xx.yy.zz = private IP address configured on interface
 
Status
Not open for further replies.
Back
Top