Tag Info

Hot answers tagged

3

Depending on what you are running on the raspberry pi with wifi and ethernet you could be able to install iptables: Then configure ip forwarding by: echo 1 > /proc/sys/net/ipv4/ip_forward sysctl -w net.ipv4.ip_forward=1 # to make ip_forwarding persistent across reboots and an iptables rule to masquerade outgoing traffic iptables -t nat -A ...


3

A iptables rule like this works fine *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [1:156] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 587 -j ACCEPT -A INPUT -j REJECT --reject-with ...


2

As stated by jpkotta, network-manager is likely the culprit. You can see its status by running ps -aux | grep network-manager | grep <username>. If you get a result, it is running, otherwise it isn't. It will keep overwriting any changes you make with ifconfig as long as it is running. Kill network-manager by running sudo service network-manager ...


2

If you're not comfortable working with the iptables commands you could use UFW instead. UFW stands for Uncomplicated Firewall and is a way esaier tool to use than iptables. Install ufw on your Raspbery Pi with: sudo apt-get install ufw After you've installed ufw you can setup the defaults with: sudo ufw default deny incoming && sudo ufw default ...


1

: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/ether 56:9c:21:33:37:c8 brd ff:ff:ff:ff:ff:ff inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0 valid_lft forever preferred_lft forever This is a "default" bridge network created by libvirt,for give network to virtual machines(nat if ...


1

OpenVPN doesn't document the exact algorithm it uses to find free addresses in the pool because it's an implementation detail and it doesn't really matter as long as it's a free address. Nevertheless, you can see what algorithm it uses by looking at the function ifconfig_pool_find in pool.c: If in duplicate_cn mode, take the first free address. If the IP ...



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