Skip to content

Initial version of macOS TAP support using feth interfaces#998

Open
kabassanov wants to merge 12 commits intoOpenVPN:masterfrom
kabassanov:master
Open

Initial version of macOS TAP support using feth interfaces#998
kabassanov wants to merge 12 commits intoOpenVPN:masterfrom
kabassanov:master

Conversation

@kabassanov
Copy link

Initial version of macOS TAP support using feth interfaces

This initial version supports only manually created feth interfaces, called fethX and feth(X+1000). They must be created before openvpn start.

ifconfig feth0 create
ifconfig feth1000 create
ifconfig feth0 peer feth1000
ifconfig feth0 up
ifconfig feth1000 up

config.ovpn file must contain:
dev feth0
dev-type tap
(eventually) route-delay 10

  1. (could be useful)

/usr/sbin/ipconfig set feth0 DHCP
/usr/sbin/ipconfig set feth0 AUTOMATIC-V6

There are still several things to check/improuve:

  • dynamic creation of the interfaces within openvpn
  • validate corectness of conditional compilation flags (ifdef, if define) added/modified near new code

@kabassanov
Copy link
Author

Wrong files uploaded... Please, wait some minutes...

@kabassanov
Copy link
Author

It is OK now. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant