You are not logged in.
Hi guys,
I have a old laptop with a wireless card and an ethernet card.
What I want to do is let the data that received by the wireless card be forwarded to the ethernet card. Another requirement is the data should through the ipsec VPN (l2dp, strongswan implementation). The laptop just like a huge router.
Another computer will connect to the laptop through the cable.
Just like:
WIFI hotspot -> wireless card ----->VPN-----> ethernet card -----cable-----> my pc
I don't know how to do that, is anyone can give me some advices or a guide?
Last edited by Amao_Three (2019-10-26 02:12:02)
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm not 100% certain if you actually mean this but i think
ip route add 0.0.0.0/0 via <ip-addr of ethernet card>
Offline