I want to use my unit as a gateway so I can share its openvpn enabled connection with the rest of my LAN like this guide states: http://rodrigo.sharpcube.com/2010/06/20/using-and-sharing-a-vpn-connection-on-your-mac/

But can't find a replacement for ipfw on raspbian :S

(What I want to achieve is just having to change the default gateway on my smart TV and other devices and connect through my raspberry)

  • How is your network topology? Is everything connected to the inside of the same router or is the RPi an interconnecting link?
    – Jervelund
    Commented Dec 27, 2013 at 9:28
  • All connected to the same router
    – Kenny D.
    Commented Dec 27, 2013 at 18:59

1 Answer 1


The linux counterpart to ipfw for mac is iptables, which you should be using instead.

The openvpn wiki has a page on bridging and routing using iptables: https://community.openvpn.net/openvpn/wiki/BridgingAndRouting

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.