Nat vlan outbound

I wan to add vlan in Nat

Like this

Set Nat source rule 100 outbound-interfac name vif2201

Why i cannot do that?

Please help

Please anyone help my problem

Hi,

You can use the tab key to see a list of all interfaces.

set nat source rule 100 outbound-interface name <TAB>

You have to use the correct interface name of the VLAN, e.g.

set nat source rule 100 outbound-interface name eth0.2201

thanks you brother
i relly lov u :grin:

[edit]
vyos@vyos# set nat source rule 20 outbound-interface name eth7.2201
[edit]
vyos@vyos# set nat source rule 20 translation address ‘masquerade’
[edit]
vyos@vyos# commit
[edit]
vyos@vyos#

done

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.