Logging in local and remote

Post Reply
LordAxion
Posts: 6
Joined: Wed Aug 26, 2015 11:30 pm

Logging in local and remote

Post by LordAxion » Sat Sep 19, 2015 1:16 am

Hello this is my first post here, and Sorry if this has been asked Before, But I have not seen it so far. I Installed a Darkstar server here on a Machine local on my Network. I want to be able to connect to it myself locally on a Computer on my Local network (192.168.x.x), And also to allow people to connect to it Publicly from outside my network. I can Update my ZoneIP to the outside IP and People from the internet can connect, If I set ZoneIP to my Local IP, then I can connect. So the Question is, How can I do both at the Same time, Instead of one or the other?

Note My DSL modem/router does not Support Local Loopback

Quote from the setup:
1. Determine what IP address will be used for the map server.

If the server will be public, then use your external IP in the next step. (Looks really random like 173.194.43.104)

If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.

I want to do both not just one or the other.

Thanks for any help you can Provide.

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: Logging in local and remote

Post by demolish » Sat Sep 19, 2015 1:23 am

use your external ip and forward your ports to your server's internal ip
<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

LordAxion
Posts: 6
Joined: Wed Aug 26, 2015 11:30 pm

Re: Logging in local and remote

Post by LordAxion » Sat Sep 19, 2015 1:32 am

Maybe I am not understanding what you are saying, I already have forwards in the Router that directs outside traffic to the Server, the Server is Running Currently and A friend is connected. But I cannot connect locally on another machine on the same network on the server, local IP 192.168.0.10, My Local Machine, the Client, is on 192.168.0.12. the server is currently set to 76.4.215.173 in zoneip My internet side IP.

note for any thinking of logging in and Trying it. I Have only Had the Server online for about a day, and at this point it is not on 24/7.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Logging in local and remote

Post by kjLotus » Sat Sep 19, 2015 2:00 am

LordAxion wrote:I want to do both not just one or the other.
they aren't mutually exclusive, you can still connect if it's on your local box or via LAN if it's set to external, you just have to use --hairpin in your launcher settings (with your local or LAN IP)

LordAxion
Posts: 6
Joined: Wed Aug 26, 2015 11:30 pm

Re: Logging in local and remote

Post by LordAxion » Sat Sep 19, 2015 2:10 am

What is Hairpin? I am using Windower and XIloader to connect. Never Really Heard of Hairpin.

This is Part of my settings.xml in windower

<profile name="Zanarkand">
<consolekey>Insert</consolekey>
<windowmode>Window</windowmode>
<width>1024</width>
<height>768</height>
<uiscale>1</uiscale>
<args>--server 192.168.0.10 --user xxxx --password xxxx</args>
<executable>xiloader.exe</executable>
</profile>

shadowuz
Posts: 26
Joined: Mon May 18, 2015 9:46 am

Re: Logging in local and remote

Post by shadowuz » Sat Sep 19, 2015 2:13 am

LordAxion wrote:What is Hairpin? I am using Windower and XIloader to connect. Never Really Heard of Hairpin.

This is Part of my settings.xml in windower

<profile name="Zanarkand">
<consolekey>Insert</consolekey>
<windowmode>Window</windowmode>
<width>1024</width>
<height>768</height>
<uiscale>1</uiscale>
<args>--server 192.168.0.10 --user xxxx --password xxxx</args>
<executable>xiloader.exe</executable>
</profile>
like this

<args>--server 192.168.0.10 --user xxxx --password xxxx --hairpin</args>

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Logging in local and remote

Post by kjLotus » Sat Sep 19, 2015 2:16 am

LordAxion wrote:What is Hairpin?
It's basically just sending your traffic back to yourself so that it comes in on your external IP

LordAxion
Posts: 6
Joined: Wed Aug 26, 2015 11:30 pm

Re: Logging in local and remote

Post by LordAxion » Sat Sep 19, 2015 3:19 am

That Did the trick!! Thank you much! :)

Post Reply