Tag Info

Hot answers tagged

38

59.224.XX.178.d is not an IP-address but a hostname, or rather part of it. Last tries to do a reverse lookup and stores both the resulting hostname and ip-address for the remote host. By default the hostname gets displayed and long ones get truncated to display nice columns. Try last -a to display the hostname on the last column without truncation. or ...


6

The -i makes 'last' show the remote hostname in dots and numbers IP address format instead of trying to display the hostname. I am not sure what the '.d' suffix is, nor can I find out anything on google. I can only guess it is trying to do a reverse lookup and is giving you part of a hostname and truncating it, although i thought you must specify -d to do ...


6

The HTTP protocol allows the client application (usually a web browser) to create HTTP requests containing the name of the web site it wants to contact; this allows multiple web sites to coexist on the same IP address and port. All web servers can be configured to serve different contents based on the name of the web site the client is asking for; also, ...


5

Change the IP address scheme of your network.


4

NOIP does not do what you want. Some ways you might achieve what you want: Purchase a VPN connection with a static IP at the other end Purchase a static IP from your ISP NOIP and other dynamic DNS services give you a way to dynamically sync your connection to your changing IP. They in no way actually provide you with a static IP. Dynamic DNS (DDNS ...


4

Best Answer - Call your ISP and get a static IP. Other Options using a VPS with a static IP: create a reverse proxy in Apache2 to access their site from the same IP address each time. Also this assumes the application is able to be behind a reverse proxy (trial and error). This will disable their 'security' of whitelisting IPs by allowing anyone to ...


2

You... don't. Heartbeat needs a physical interface to bind against. If you're specifying a virtual interface because you want to use that interface's IP as the source address for your broadcasts, I believe you're out of luck -- there's no indication of a source address config option in the ha.cf docs.


2

As you spoke about netsh, I assume that you are working on Windows. Run cmd.exe as Administrator. Exec netsh int ip sh int and press "Enter". Identify your loopback Idx (first column). Exec netsh int ip add addr <IDX> <IP>/32 st=ac sk=tr and press "Enter". In my case, with IDX=1 I exec: netsh int ip add addr 1 146.112.61.106/32 st=ac sk=tr. To ...


2

You probably want to specify an up script, which will receive the ifconfig_local and ifconfig_remote environment variables, which contain the local and remote IP addresses assigned to the VPN tunnel. You'll also need to set script-security 2 in order to have your script actually run.


1

If 10.10.10.10 already points to the WAN interface on your router, you should just have to add a static route to the internal host on the router. ip router add 10.10.10.10/32 dev eth1 Where eth1 is the LAN side nic on the router. (Ensure that ip forwarding is on for both interface wan and lan on the router). Then just assign 10.10.10.10/32 to the nic on ...


1

What you are describing is called SNAT or 1:1 NAT in other terms. It maps a single address on one network, to a single address on another and is the most common way to expose services on a single host (usually to the internet) on the planet. So providing your gateway supports it, you need to create a 1:1 NAT of 10.10.10.10 to 192.168.1.2. All traffic to ...


1

You can't. Available address ranges change frequently, and while whois can provide you with some hints, it isn't going to get you close to something you can just fire-and-forget. IP-based restrictions aren't an effective security tool anyway. You're far better to implement rate-limiting (to protect against brute-force attacks) and keep your services ...


1

It sounds like network-manager is reverting the interface back to dhcp because it's not aware of the config change. Rather than doing ifup/ifdown restart the network-manager service: sudo service network-manager restart If network-manager isn't installed check to see if dhclient is still running. If it is stop it and try restarting the interface ...


1

You cannot bring up an interface that is already up. The "File exists" errors indicate that you are trying to add IP addresses and routes that are already present. Make sure the interface is down and the IPs and routes are gone and run the script and you won't get those errors.


1

Yes, this can be done, as long as the application-level protocol in use knows which name was connected to. HTTP knows this, because of the Host: header. TLS knows this (now), because of the "Server Name Indication" extension. I believe FTP can know this, based on some protocol extension, but if you're still using FTP, you are doomed. If the protocol ...


1

You're most likely missing routes. On your VPN server, add this directive to add routes to your local subnet: push "route 10.20.0.0 255.255.255.0". That will tell VPN clients to route traffic through the VPN for that subnet. It looks like you might have done this, but be aware that yours has a subnet mask of /16 while the routing table on the LAN client ...



Only top voted, non community-wiki answers of a minimum length are eligible