You are not logged in.

#1 2019-10-26 02:11:49

Amao_Three
Member
Registered: 2018-07-14
Posts: 15

How to forward the data from the wireless card to the ethernet card.

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

#2 2019-10-26 02:15:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,271
Website

Re: How to forward the data from the wireless card to the ethernet card.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-10-26 20:58:38

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 43

Re: How to forward the data from the wireless card to the ethernet card.

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

Board footer

Powered by FluxBB