internal ip : 192.168.1.21
dyndns:
alianebeverly.dyndns.org
router ip: 192.168.1.1
region name: BEVERLY11
Do you need more information ?
and how mus he do for other regions ? he has more than one region
thank you a lot for your help :)
---
Assuming that the two Sims are on that same machine and use ports 9000
& 9001, your four iptables entries would be:
iptables -t nat -A POSTROUTING --dst 192.168.1.21 -p tcp --dport
9000:9001 -j SNAT --to-source 192.168.1.1
iptables -t nat -A POSTROUTING --dst 192.168.1.21 -p udp --dport
9000:9001 -j SNAT --to-source 192.168.1.1
iptables -t nat -I PREROUTING --dst
alianebeverly.dyndns.org -p tcp --
dport 9000:9001 -j DNAT --to-destination 192.168.1.21
iptables -t nat -I PREROUTING --dst
alianebeverly.dyndns.org -p udp --
dport 9000:9001 -j DNAT --to-destination 192.168.1.21
2009/5/17 ecumedularge skytower <
ecumedular...@gmail.com>
hello Retrodan,
i saw your new post about "having changing ip", thank you so much
for theses informations.
At the end of the "solving the loopback problem" you say i can ask
you for the most complex iptables entries, so i do :)
My friend, has a router who does not support loopback, and has
also a dynamic IP !!
He made a
dyndns.org adress IP, no problem, and his router has an
option to activ DynDns in it.
Now, the problem is to have 2 differents Ip to connect himself on
his sim.
i'm not very good with my english, but i think he must do , what
you wrote in 4th choice in you "solving the loopbak problem" ? 2
groups of iptables commands? like:
iptables -t nat POSTROUTING --dst <HOST> -p <tcp|udp> --dport
<9000> -j SNAT --to-source <ROUTER>
So assuming your OpenSim Host machine has the IP 192.168.1.3 and
your router IP is 192.168.1.1 the two entries, one for tcp and one for
udp are:
iptables -t nat POSTROUTING --dst 192.168.1.21 -p tcp --dport 9000
-j SNAT --to-source 192.168.1.1
iptables -t nat POSTROUTING --dst 192.168.1.21 -p udp --dport 9000
-j SNAT --to-source 192.168.1.1
and finaly:
iptables -t nat PREROUTING --dst
alianebeverly.dyndns.org -p tcp --
dport 9000 -j DNAT --to-source 192.168.1.21
iptables -t nat PREROUTING --dst
alianebeverly.dyndns.org -p udp --
dport 9000 -j DNAT --to-source 192.168.1.21
please i would like you write for us the correct command in each
lines....
internal ip : 192.168.1.21
dyndns:
alianebeverly.dyndns.org
router ip: 192.168.1.1
region name: BEVERLY11
do you need more information ?
and how mus he do for other regions ? he has more than one region
thank you a lot for your help :)
Sincerly
Eden
--
M-C b