Raised This Month: $51 Target: $400
 12% 

Solved [HELP] Local IP is showing up.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-17-2018 , 02:07   [HELP] Local IP is showing up.
Reply With Quote #1

Hello everyone! I am having a very strange problem, when I enter the server and type status my ip that appears is ip local instead of ip of exit for internet. Can someone help me?

Last edited by gildevanaraujo; 02-07-2019 at 22:15.
gildevanaraujo is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 11-17-2018 , 04:15   Re: [HELP] Local IP is showing up.
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=205169
HvG Community is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-17-2018 , 11:51   Re: [HELP] Local IP is showing up.
Reply With Quote #3

Quote:
Originally Posted by HvG Community View Post
I installed the plugins and when I type steamID the ip of my router appears ... it is not taking my ip from sleep, this is making me frustrated.

Look this image:
Attached Images
File Type: jpg Sem título.jpg (12.0 KB, 92 views)

Last edited by gildevanaraujo; 11-17-2018 at 12:01.
gildevanaraujo is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 11-17-2018 , 15:48   Re: [HELP] Local IP is showing up.
Reply With Quote #4

I don't know why.

PHP Code:
GetClientIP(targetClientIPsizeof(ClientIP)); 
https://sm.alliedmods.net/new-api/clients/GetClientIP

This is command for getting IP of client and Im using it in above plugin.
Maybe someone else will be able to explain how this works.

Last edited by HvG Community; 11-17-2018 at 15:48.
HvG Community is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 11-18-2018 , 04:09   Re: [HELP] Local IP is showing up.
Reply With Quote #5

SRCDS server is on same local network as the client PC.

Some routers/network equipment will with it's translation show either the router's IP address (e.g. 192.168.1.1) or local PC's IP address (192.168.1.123) if you connect through the WAN IP (123.123.123.123:27015).

This isn't at all related to SourceMod or SRCDS itself, but related to the network equipment operate. For a lot of "consumer" gear, there is no ways to change this.

The only way to eventually go further, will be that @gildevanaraujo consults his/her ISP and/or the vendor of the equipment used and hope that they are able to assist with a solution.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-18-2018 , 19:09   Re: [HELP] Local IP is showing up.
Reply With Quote #6

Quote:
Originally Posted by arne1288 View Post
SRCDS server is on same local network as the client PC.

Some routers/network equipment will with it's translation show either the router's IP address (e.g. 192.168.1.1) or local PC's IP address (192.168.1.123) if you connect through the WAN IP (123.123.123.123:27015).

This isn't at all related to SourceMod or SRCDS itself, but related to the network equipment operate. For a lot of "consumer" gear, there is no ways to change this.

The only way to eventually go further, will be that @gildevanaraujo consults his/her ISP and/or the vendor of the equipment used and hope that they are able to assist with a solution.
I understand friend, I imagine it was something related to my router.
More infos about him.
Code:
Model: TP-Link TL-WDR4300 v1
Firmware Version: OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.228.31946-f64b152)
Do you need more information?
Thanks!
gildevanaraujo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-18-2018 , 20:47   Re: [HELP] Local IP is showing up.
Reply With Quote #7

Your IP is right. You are playing in LAN with SRCDS
Bacardi is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-19-2018 , 02:14   Re: [HELP] Local IP is showing up.
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
Your IP is right. You are playing in LAN with SRCDS
No, I'm playing in the same internet mode, but only my ip appears as a local. I use a plugin on my server to show the ip of the player and when I type the command, the ip of my router appears.
gildevanaraujo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode