-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Jason,

Can you identify the error(s) present in this routing table ?

ip rdefault via 10.1.101.1 dev enp5s0
default via 10.2.110.0 dev enp7s0
10.1.101.0/24 dev enp5s0 proto kernel scope link src 10.1.101.101
10.2.110.0/24 dev enp7s0 proto kernel scope link src 10.2.110.255

10.56.101.0/24 via 10.56.101.102 dev tunc56007
10.56.101.102 dev tunc56007 proto kernel scope link src 10.56.101.101
10.66.97.86 via 10.56.101.102 dev tunc56007
10.126.66.0/24 dev tuns12666 proto kernel scope link src 10.126.66.101
192.168.56.0/24 dev vboxnet0 proto kernel scope link src 192.168.56.1
As a pointer; What ever errors exist here are only related to multiple
network interfaces, there are no openvpn errors present.

This question is open to all subscribers.


Sent with Proton Mail secure email.

------- Original Message -------
On Sunday, August 6th, 2023 at 21:41, Jason Long via Openvpn-users 
<openvpn-users@lists.sourceforge.net> wrote:


> Hello,Any idea?
> I would be grateful if someone could guide me.
> 
> Cheers.
> 
> 
> > On Wed, Aug 2, 2023 at 11:17 PM, Jason Long via Openvpn-users
> > <openvpn-users@lists.sourceforge.net> wrote:
> > Hello,
> > To use OpenVPN with a NIC that has multiple IP addresses set on it, I need 
> > to use the following statement in the server configuration file:
> > 
> > Local "Virtual IP"
> > 
> > But, when I use the following firewall rules and specify the virtual NIC, 
> > OpenVPN network card and IP range, is there still a need for Local "Virtual 
> > IP"?
> > 
> > # IF_MAIN=eth0:X
> > # IF_TUNNEL=tunX
> > # YOUR_OPENVPN_SUBNET=IP/16
> > # iptables -I INPUT -p udp --dport PORT -j ACCEPT
> > # iptables -A FORWARD -i $IF_MAIN -o $IF_TUNNEL -m state --state 
> > ESTABLISHED,RELATED -j ACCEPT
> > # iptables -A FORWARD -s $YOUR_OPENVPN_SUBNET -o $IF_MAIN -j ACCEPT
> > # iptables -t nat -A POSTROUTING -s $YOUR_OPENVPN_SUBNET -o $IF_MAIN -j 
> > MASQUERADE
> > # iptables -t nat -A POSTROUTING -s $YOUR_OPENVPN_SUBNET -j SNAT --to 
> > OpenVPN_NIC_IP
> > 
> > 
> > 
> > Thank you.
> > 
> > _______________________________________________
> > Openvpn-users mailing list
> > Openvpn-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openvpn-users
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBYJk0A7fCZBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr
kLidAACUWAf+M94NpONEDcrekFWIApw5yHvn6g9npDU3Z0MmizCbv/c3LGgP
kJmi25ELoB+h/JuA/7Jt+0WCu+usBW35LTbDyjwmfavW20r3KppgXrzKbvb6
R9oKLEYDlx2/0hbFrJ4wObn2ZMwQgMEARlSNKn/IxztCm9jnwMxj+mDaDCkG
vFRyYy++XgerzqLTMazGw4EDFEsmyq1aUNyIxQ5bVpAXl+SN9uxj55XmpPM2
nWVfv8H2k7nscD1Ej8Q0W0ZIO7qNaf6rMRfCBhgXOMOLjCY9pajveSU055MS
ZlXGcWW8HD1Qs+DxJWZCDbBNF0xE2q9PoFcZLY9LivlUsd/U87jdpA==
=OL2e
-----END PGP SIGNATURE-----

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to