Skip to content

Enable forwarding between wireless networks #2

@danielhjames

Description

@danielhjames

In /etc/sysctl.conf file:
# Uncomment the next line to enable packet forwarding for IPv4
net.ipv4.ip_forward=1

Then update while running:
echo 1 > /proc/sys/net/ipv4/ip_forward

Add a route to wlan1 on the upstream Internet side
iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions