New answers tagged

1

Add your "common" IP to loopback interface with prefix /32: ip address add IP/32 dev lo Sorry - I don't know how to make it pernament on Ubuntu (netplan config? systemd?). Any way. This IP will be accessible on WIFI/Ethernet (proxyarp will take care of this) - no matter which connection is active in the moment ("lo" interface is always ...


1

IP routing and especially 6to4 relaying is not necessarily symmetric – you might be sending packets through one relay node, but getting replies through another. Each sender will automatically use the relay that's closest to them. In other words, no matter what relay you use, HE's systems will use their local 6to4 relay to respond to you, as the shortest path ...


1

A simple solution might involve running a tunnel from your cloud server/VPS to your home network. That way only the IP of your VPS will leak. It is of course vital that the traffic you are generating is encrypted itself otherwise the payload will leak. For example, if you access a HTTP server at home by making a request to the VPS which will be (securely) ...


2

If you are interested in having a constant way of being found from the general internet, you may consider using a service like https://dyndns.org. This provides an address (like mywebsite.dyndns.org) that will be translated to an IP address when a host looks up the address.


1

You have some misunderstanding in the concept of DNS and the HOSTS file. When you add an domain name to a HOSTS file, before querying its IP address to a DNS server, the HOSTS file is checked. And if you overwrite the IP address with 127.0.0.1 then the IP address is misleaded and unreachable. But you can't add an IP address to the HOSTS file becuase it has a ...


0

Export rules, edit, then import You could export the rules as a CSV or JSON file, edit them to include your new IP ranges, then import the rules back into the WIndows Firewall. You may find these scripts useful: Powershell scripts to export and import firewall rules in CSV or JSON format


2

So should I change it back after playing or keep the DNS. Generally, public DNS servers are meant to provide the same kind of service as ISP-provided ones. They'll be able to resolve the same domains and everything. So if your ISP-provided DNS service is unreliable, you can safely keep it changed to something else. There are exceptions though, as mentioned ...


0

" Once disconnected it won't reconnect for 15-20 mins, .... once disconnected, it also shows message "bad password"" Reset to factory specs to eliminate the (possibly) defective wireless profile in the machine. Then update the firmware in the router and set it up again. Follow up: This was a new router because the old router had a ...


0

You didn't tell us how you'll be deciding on the static IP for each computer, but you can surely find ways to determine that. You could have a CSV file with the hostname and the IP to set and have PowerShell read that. As Señor CMasMas said, you can use WMI to set the static IP. To give a more concrete answer, here is an example script in PowerShell: $wmi = ...


1

You can use the Windows Management Instrumentation (WMI) to accomplish this. Powershell is one of many ways to manipulate WMI so if you wanted to use c#, windows scripting host, or something else with WMI access.. they all work the same. You will first use a query to obtain the correct WMI object that allows you to tweak IP settings. You will then use the ...


0

I encountered this problem after configuring my firewall to block all outgoing connections save for programs I white-listed (a move to harden Win10). I could access the web unimpeeded because I white-listed Microsoft Edge and I thought I did the same for ping but it turns out Windows is tricky and has four ping programs (one in System32, one in SysWOW64, ...


0

I am having this same issue with optimum ISP talking to my Mediatemple nameservers to resolve my domains to my hosting ip address server. So far the solution has been... leave your hosting company and setup everything elsewhere as optimum has now taken a month and not even gotten back to me. Turns out your ISP may be very little help as they have with me.


0

FTP requires a large number of extra ports to function correctly. it doesn't forward well. to forward it successfully you need FTP aware forwarding rules. you could perhaps setup the router as the DMZ server (where all ports with no explicit rules connect) but that seems like a major security risk. maybe you can use HTTP of SFTP instead.


0

In case it helps anyone else, my problem when I received this error was client side. I had mistyped the [USERNAME] portion of the command.


1

There are a few concepts to consider here. First note that if you don't have access to the device directly connected to the ISP network, you have absolutely no means to change your public IP address. If you do have some degree of access, note that IP addresses are leased by the DHCP server to a device for a period of time. that lease is monitored on the DHCP ...


3

If I run a server on localhost:8080, can I run something else on 192.168.x.x:8080? Yes, there can be different listening sockets on the same port as long as they're bound to different local addresses (i.e. the sockets are tracked according to address:port combinations). (But avoid mixing specific address:port listeners with the "any address" 0.0.0....


1

localhost translates to 127.0.0.1, so localhost:8080 and 127.0.0.1:8080 are the same thing. 192.168.x.x is a different IP address, therefore the same port can be reused. You can run different servers on 127.0.0.1:8080 and on 192.168.0.1:8080, and if you have more IP addresses, you can even go on with e.g.: 192.168.0.2:8080 and 192.168.0.3:8080


1

Similar to @KernelMode answer, using ngrok but if you are on a macOS, open a terminal to the directory you downloaded ngrok and type ./ngrok http 8080 this will give you a http and a https public URL that you can use to access your localhost from other machines: Below is a brief info about ngrok and things it can do with examples: Note: if you want to ...


0

Ok I figured something out that works although it is somewhat different from the original Problem: ifconfig eth1 192.168.4.1/24 up iptables -t mangle -A OUTPUT -d 192.168.4.13 -j MARK --set-mark 1 iptables -t nat -A OUTPUT -d 192.168.4.13 -j DNAT --to 192.168.4.4 ip rule add priority 1000 fwmark 0x01 table eth1_table ip route add table eth1_table 192.168.4.4/...


0

I was finally able to get it to work. There were a number of reasons things weren't getting through: Setting the source and dest IP to the same value in the IPv4 header is apparently classified as a LAND Attack. While the specific packet I crafted wouldn't trigger DOS (since it demands no reply), I suspect something deep in the linux kernel is dropping the ...


1

Is it possible to have two the same IP addresses and subnets assigned from two different interfaces/networks? If the IPs are different: Two NICs in the same subnet are by definition in the same network. This means it doesn't matter which NIC is used to reach anything in that network. Exact behavior depends on the system. Most will probably pick one and ...


1

There are three private-use IPv4 address ranges: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. All of them work identically and your devices won't care which one is being used; for home networks it's mostly a matter of preference. So maybe whoever configured your router thought that 10.x looks nicer than 192.168. (The only real difference is that 10./8 is ...


2

Most of the network printers uses IPv4. Open command prompt and run, ipconfig to know your IP address, then check your address resolution protocols to see connected devices by running arp -a on command prompt window. If you are still in doubt download nmap from here and scan your network.


0

If your command line is PowerShell: If the printer port is a TCPIPPrinterPort you can use this command: Get-WmiObject Win32_TCPIPPrinterPort And get the host address. If the printer port is a WSD Port, you can check each item of: HKLM:\SYSTEM\CurrentControlSet\Enum\SWD\DAFWSDProvider\ to retrieve the IP address. Here at GitHUB is a script to do this.


Top 50 recent answers are included