Configuring The Pfsense Firewall
Configuring The Pfsense Firewall
Configuring The Pfsense Firewall
2/17/18
1.
Went to the ubuntu machine and typed ping -c4 203.0.113.2 to ping 4 times to the kali linux machine.
2.
I used the command ping -c4 192.168.1.50 to capture the 4 packets to the ubuntu machine.
3.
Go to the ubuntu machine and type the ip 192.168.1.1 and view type the username admin and password
of pfsense and login. Go to Firewall>rules>add new rule.
4.
Modified action to Block, Protocol to ICMP, and source to a network of 203.0.113.0
5.
Select all defaults and this is the results
6.
1.
Used the command nmap 203.0.113.1 to scan for any open ports on the kali network.
2.
3.
On the fireall change destination port range to ssh on both
Save it afterwards.
4.
1.
Went to kali machine, typed the command nmap 203.0.113.1 and sniffed the ports, they were closed of,
but now are open.
2.
Type the command ssh 203.0.113.1 to gain access to the ubuntu machine, and it was successful.
3.
I am on the correct machine because I now own the ip address of the ubuntu machine.
4.
Used the command route to confirm the default gateway of the ubuntu machine.
5.
Used the command nmap 192.168.1.1 to sniff out the firewall of the machine and ssh isn’t opened on it.
2.
Configure the CA with the following
State/province: Texas
City: Austin
Org: XYZ
Email: admin@xyz.corp
Save afterwards.
3.
Lifetime: 3650
Country code: US
State/prov: Texas
City: Austin
Org: XYA
Email: admin@xyz.corp
4.
5.
Use the username bob
Password: bpassx
Save afterwards.
6.
7.
Go through the wizard and select the defaults
8.
Use the following: interface: internal_GW
Protocol: UDP
Desc: myVPNServer
Concurrent connection: 10
9.
Accept the firewall rules and click next.
1.
Navigate to vpn>open VPN and click on the export tab: edit the following and leave everything default
2.
Scroll down and select archive in the bob account>and save it.
1.
Next type unzip pfsense-udp-1194-bob-config.zip to unzip the udp pfsense file from port 1194 in the bob
configuration folder.
2.
3.
5.
Password: bpassx
6.
1.
Go to pfsense>status>system logs>open vpn tab.
2.
Results