Tag Info

New answers tagged

2

To stay up to date you can now (2015-08-31) subscribe to AWS public IP address changes via SNS. Subscribe to the topic: arn:aws:sns:us-east-1:806199016981:AmazonIpSpaceChanged Every time the addresses are changed, you get a message like this: { "create-time":"yyyy-mm-ddThh:mm:ss+00:00", "synctoken":"0123456789", ...


0

As suggested, probably best to change your network layout if it's really that important. However, it should be possible to add a static route to the remote router interface. I'm not 100% familiar with the Windows syntax for adding a route but on the VPN client it should be something like: route -p add 192.168.1.1 mask 255.255.255.255 ...


5

Change the IP address scheme of your network.


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 ...


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 ...


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 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.


0

Regardless of where the ISP routing function is situated, in local or remote equipment, it cannot function as a router without an L3 address space to contain other nodes in addition to itself. Bridging (aka L2) just places the L3 routing function farther away, but the L3 space must still be congruent with both the router and your gateway node. So, if the ...


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 ...


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, ...


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 ...


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 ...


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 ...


-1

nmap -sP 192.168.1.0/24|grep SEARCHED_HOSTNAME|sed -n 's/.*[(]\([0-9\.]*\)[)].*/\1/p' Nmap gets from your subnet (192.168.1.0 or whatever) the adresses with grep get only the line of the hostname you are looking for With sed get only the ip address inside the parentheses


0

Since you say that you see this in your Windows OS, it sounds like you're referring to APIPA (Automatic Private IP Addressing). More info here or here.


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.


0

This is due to an interesting combination of Linux's "promiscuous ARP" behaviour, and ARP caching. Essentially, what is happening is that the wifi, despite not having the IP address on itself, is receiving ARP requests, and is sending ARP responses. If that is the ARP response the other machine on the local subnet (usually the router) receives first, ...


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 ...


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 ...


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 ...


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 ...



Top 50 recent answers are included