Tag Info

Hot answers tagged

9

Setting up a dummy interface If you want to create network interfaces, but lack a physical NIC to back it, you can use the dummy link type. You can read more about them here: iproute2 Wikipedia page. Creating eth10 To make this interface you'd first need to make sure that you have the dummy kernel module loaded. You can do this like so: $ sudo lsmod | ...


4

If you have this problem with every program you run, you should check your server firewall rule. Make sure that it only use NAT for external destination. Your route table make no sense if you have a wide NAT rule. After fixing firewall rule, for wget, you can use --bind-address option to chose what interface you want to use: wget ...


3

As steeldriver notes in a comment, there is a typo. If that's not just a typo in your question, you need to fix that. iface etho0 inet static ^ extra "o" Also, for readability, traditionally they are indented and you don't actually need to specify the network and broadcast when the defaults are OK: iface eth0 inet static address ...


2

As was mentioned by @Patrick in one of the comments to my question, I was encountering an issue with my iptables NAT rules. eth0: Internal network, 192.168.1.200 eth1: External network, 192.168.0.2 My NAT rule was: $ iptables -t nat -A POSTROUTING ! -o eth0 -j MASQUERADE That means, that all traffic whose output destination device is not interface ...


2

IIRC, openssl s_client -connect localhost uses TLS by default. From https://www.openssl.org/docs/apps/s_client.html: -ssl2, -ssl3, -tls1, -no_ssl2, -no_ssl3, -no_tls1 These options disable the use of certain SSL or TLS protocols. By default the initial handshake uses a method which should be compatible with all servers and permit them to use SSL ...


2

You can create virtual interfaces using the iproute2 toolkit. ip link add veth0 type veth peer name veth1 This will create 2 interfaces, veth0 and veth1. Think of them as 2 ends of a pipe. Any traffic sent into veth0 will come out veth1 and vice versa. If you want the traffic to be routed, you can do: sysctl -w net.ipv4.conf.veth0.forwarding=1 This ...


1

The list you're looking for is most probably at http://www.oid-info.com/ Yes, this is some kind of standard: OIDs are objects in the MIB, the global root MIB was defined in RFC 1155. It has since been extended, the SNMP MIB is RFC 1157.


1

I believe I may have figured it out. It turns out that wicd is installed and running. On bootup, my /etc/network/interfaces was in charge, but when the cable was unplugged, wicd took over. Editing /etc/wicd/wired-settings to include my static IP did the trick. It's not great that is configured in two places, but I've added a pointer in ...


1

The output from netstat -r does not contain a defaultroute. This should come via DHCP from your VM host software. Edit: You may try to find out whether the defaultroute gets configured or not using rtmon and ip from the package iproute. With rtmon you may watch the netlink interface of the kernel and with ip you may have a look at these logs. Shutdown ...


1

ARP is a Layer 2 protocol, so if the device is on a different subnet you won't be able to find it by MAC address. Your 2 best options are: Record it's IP before you deploy it, ip a Setup a listener on another computer and configure a reverse shell on the pi to call that computer once it's network stack is established. At least one of these methods should ...


1

If you know its dns name you can simply ping it. You could use arping to ping its MAC You could configure it to send you an email with its IP once the connection is established...


1

First try basic connectivity to your destination. telnet smtp.gmail.com 587 If that doesn't work you're probably looking at a firewall issue. Check that your TLS works openssl s_client -starttls smtp -crlf -connect smtp.gmail.com:587 If the first worked but TLS fails you are probably using a deep inspection firewall that blocks you from using TLS ...



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