This shows you the differences between two versions of the page.
sred:milestone_3 [2024/01/12 15:26] horia.stoenescu StS vpn |
sred:milestone_3 [2024/01/19 20:17] (current) horia.stoenescu [Week 6] |
||
---|---|---|---|
Line 71: | Line 71: | ||
# select shell (8 key) | # select shell (8 key) | ||
# change mac address based on your eve_ng instance ip | # change mac address based on your eve_ng instance ip | ||
- | ifconfig vtnet0 link 50:00:00:$SECOND_BYTE:$THIRD_BYTE+1:$FORTH_BYTE | + | ifconfig vtnet0 link 50:00:00:$SECOND_BYTE:$THIRD_BYTE+2:$FORTH_BYTE |
- | # example: for 10.6.0.10, use mac address 50:00:00:06:01:10 | + | # example: for 10.6.0.10, use mac address 50:00:00:06:02:10 |
</code> | </code> | ||
Line 83: | Line 83: | ||
5. Add firewall rules to permit traffic from FW1 (local) to FW2 (remote) and vice-versa. Test this using ping. | 5. Add firewall rules to permit traffic from FW1 (local) to FW2 (remote) and vice-versa. Test this using ping. | ||
- | 6. Using the documentation provided by NetGate, see the steps here: https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-s2s-psk.html#figure-site-a-phase-2-general-settings. | + | 6. Using the documentation provided by NetGate, see the steps here: https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-s2s-psk.html. |
- for names, use ''ToRemote'' for FW1 and ''ToLocal'' for FW2 | - for names, use ''ToRemote'' for FW1 and ''ToLocal'' for FW2 |