I fix my problem I put my server out of the local and I have to connect on it with wan ip. I guess Its better of nothing. thx for your help guys
- Viewing Profile: Posts: riourik
Community Stats
- Group Members
- Active Posts 4
- Profile Views 1489
- Member Title Newbie
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Github
riourik
User Tools
Friends
riourik hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: problem connection wan+lan
16 October 2016 - 01:28 AM
In Topic: problem connection wan+lan
15 October 2016 - 04:14 AM
Yeah I put my no-ip Adress but nothing :s
so after some test.
Before the test, I was thinking the server was kicking me out. but I think I just cannot log on char-server.
if I put
-- <<address>192.168.2.20</address> I see me connect on the login.
if I put
-- <<address>riourik.no-ip.com</address> I don't see me connect on login.
with 192.168.2.20 cannot log on char.
so hard to get it.
don't know where I miss something. on wan everything work number 1 but not on lan.
Assume your no-ip is correctly set,started and able to ping "NOIP-ADDS", then follow below;
[1] UPDATE DNS and reboot network interface if required
sudo nano /etc/resolv.confAdd below;nameserver 8.8.8.8nameserver 8.8.4.4[2]network.conf add into lan_subnet ;"NOIP-ADDS:255.255.255.0",***lan_subnet is whoever can connect from, so add local and wan (no-ip)**allowed is wherever your chap and map will connect to login. If same server, just 127.0.0.1. NOTE, must follow what is entered in map and char config. In your case, put LAN*trusted just add lan and 127.0.0.1[3]cd /etc/hostsUpdate your no-ip address and point to 127.0.0.1[4] Go no-ip.com ensure noip really updated your hostname into current public ip otherwise go manual update in noip website. check whatismyip.com
I follow it but cannot play in local my server lan ip is 192.168.2.20 and my lan ip is 192.168.2.14
login screen
[Status]: Request for connection of riourik (ip: 192.168.2.14).[Notice]: Authentication accepted (account: riourik, id: 2000000, ip: 192.168.2.14)[Status]: Connection of the account 'riourik' accepted.[Info]: Closed connection from '192.168.2.14'.
but after I have on my client :
"failed to connect to server"
I will quote you my network files just in case I did something wrong
// Network configuration file /* * List here any LAN subnets this server is in. * Example: * - char- (or map-) server's IP in LAN is 192.168.0.10 * - Public IP is 198.51.100.37 * If the list contains "192.168.0.10:255.255.255.0", any clients connecting * from the same 192.168.0.0/24 network will be presented with the LAN IP * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37). */ lan_subnets: ( "127.0.0.1:255.0.0.0", "riourik.ddns.net:255.255.255.0", "192.168.2.14:255.255.255.0", ) /* * List here any IP ranges a char- or map-server can connect from. * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed * from ANY IP. (not recommended). */ allowed: ( "0.0.0.0:0.0.0.0", "192.168.2.20:255.255.255.0", "192.168.2.14:255.255.255.0", ) /* * List here any IP ranges a char- or map-server can connect from. These ranges * will also be excluded from the automatic ipban in casee of password failure. * Any entry present in this list is also automatically included in the * allowed IP list. * Note: This may be a security threat. Only edit this list if you know what * you are doing. */ trusted: ( "127.0.0.1:255.0.0.0", "192.168.2.14:255.255.255.0", )
In Topic: problem connection wan+lan
14 October 2016 - 09:24 AM
I did it but in local I cannot connect :s server quit me out when I try to connect
- Viewing Profile: Posts: riourik
- Privacy Policy
- Hercules Forum Rules ·