Find my IP address when ssh'ing when behing a web proxy - networking

I'm on a corporate network and need to find out the external IP address that my ssh is showing up as so I can white-list it.
I can't use whatismyip.com or "curl ifconfig.me" because this network is proxying all the web traffic, so the IP is different than what SSH goes out as.
Is there an equivalent service that I can SSH to and it will repeat my external IP address?

Ok, finally got around to solving this myself:
http://ipcheck.finne.us/
Chrome won't do a request on port 22, so
curl http://ipcheck.finne.us:22/

Related

Host command providing wrong twitter IP address

I'm building a clone of the host command. I've tried finding the host of twitter.com and have received the same IP-Address both on my version and the real host command. The address is: 104.244.42.65.
For some reason, when I input this IP-Address into the browser, it says that there's no webpage with that IP address. Why is this happening?
The host command uses ICMP to detect if the DNS name of the host can be resolved and host is reachable. And you can resolve and reach the IP that resolved for twitter.com.
However, the web server of Twitter is probably configured to answer only if asked by DNS name and when your browser sends a HTTP GET request with the IP, the server does not respond.
Twitter gets tons of requests per minute. The surely use load-balancers that redirect "twitter.com" to multiple IP addresses and they don't want people to use particular IP addresses, which would mess up their load balancers.

PING REQUEST TO HOST ONLY SUCCESFUL RIGHT AFTER I DO TRACERT TO THE SPECIFIC HOST?

Our Company has a VPN connection provided by the ISP in our country , I can Traceroute to a Remote host on another site connected to the VPN but I cant ping to it. The ping command works to hosts on remote site only for a short while right after I do the traceroute to the particular host. Why is it that the ping command only successful right after the tracert command is excueted??
At a guess, this sounds like its potentially Proxy ARP? I would check to see whether or not the Traceroute is temporarily populating your ARP table, allowing the ping to work. Just because you can't ping a device right off the bat doesn't mean its not reachable.

Hide your IP when connecting remotely

I was wondering how some people is able to hide their IP when they connect remotely to a server for example. I'm connecting frequently to a linux server and I can see that when using the $who command, it shows from where is everyone connecting to the server, but sometimes it doesn't tell the IP nor the domain or anything, and somebody told me that is because he is hiding his ip using Tor or something similar. My question is: how can I hide my IP when I use a terminal emulator such as PuTTY so that the server doesn't knows my IP?
Connecting through Tor or some other mechanism to hide your true IP has nothing to do with why the who command doesn't show the IP or hostname. Even if connected to an SSH server over Tor, it would show the Tor exit IP rather than nothing.
It may be like Pekka, said, they are connected locally, or another possibility is that their connection timed out and who still shows the login but they aren't actually connected.
If you want to run Putty over Tor to "hide" your IP from the server, just run Tor locally and configure Putty to use Tor as a SOCKS proxy.
You could also run ProxyChains to use Tor or other SOCKS proxies and then run either proxychains putty or proxychains ssh user#host.org to connect through the proxy which will prevent the server from seeing your actual IP.
Configure PuTTY to use Tor

Can't get my IIS website online

I just tried to publish my website via IIS.
I forwarded the right ports to my LAN and it successfully connects to the LAN, but can't connect the internet.
When using 192.168.1.20:8080 (which is my local IP address), it connects to the website, but when using my external IP address it doesn't work.
What do I do wrong?
Thanks!
It likely has something to do with the port being auto-blocked by your Windows firewall or :80 not being routed to :8080 in your router.
I had this issue too, Windows Firewall's default was to block the :80 port. I just had to go in and make an exception.
-first of all you should have a static IP address.
-second make sure you add the make sure you add that IP address to your Network (NIC) card Interface and I hope it will work fine.
Check This Please or this topics

Find Internal Hosting Server from Website IP

There is a website hosted on a server on our network, and I'm trying to find where exactly this has been installed.
Using the IP is there anyway that I can resolve this to a machine name on our network? I've tried pining the IP but don't get anything useful back.
This will return the machine/computer name:
PING -a xxx-xxx-xxx-xxx

Resources