Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Dissalow https and ssh services from a host
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Dissalow https and ssh services from a host (Read 2549 times)
lonewolf7
Newbie
Posts: 9
Karma: 0
Dissalow https and ssh services from a host
«
on:
December 24, 2023, 03:44:02 pm »
Hello to everyone, i have a home network with 192.168.1.0/24 subnet, router is on 192.168.1.1. I made a fresh installation of opnsense at a VMware VM with 2 adapters, 1 bridge for WAN and 1 host-only for LAN with IP 192.168.10.1. I also setted 1 ubuntu VM in the 192.168.10.0/24 network with host only adapter. How i can dissalow the traffic for https and ssh services for the ubuntu VM ? I tried to set 2 inbound and 2 outbound rules on LAN interface for the specific host but i can still connect to https and make/receive ssh connections. Thank you in advance
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #1 on:
December 24, 2023, 06:06:54 pm »
Connect from where?
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #2 on:
December 24, 2023, 06:07:51 pm »
from other hosts the to the restricted one via SSH
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #3 on:
December 24, 2023, 06:10:07 pm »
What other hosts? On LAN? They go through the switch, you cannot do this on the firewall.
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #4 on:
December 24, 2023, 06:13:39 pm »
i want for a host that has IP 192.168.6.10/24 disable SSH services for incoming and outgoing connection. It cant be done?
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #5 on:
December 24, 2023, 06:31:12 pm »
Not when the Ubuntu VM is on the same interface/subnet as the hosts you want to block access from.
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #6 on:
December 24, 2023, 06:52:18 pm »
Can you guide me please what to do?
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #7 on:
December 24, 2023, 06:55:22 pm »
Put the VM on a new interface, like 192.168.100.0/24, not on LAN.
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #8 on:
December 24, 2023, 07:09:45 pm »
still doesnt work
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #9 on:
December 24, 2023, 08:10:24 pm »
Eh, post your network setup and firewall rules. Crystal ball missing.
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #10 on:
December 26, 2023, 01:52:18 pm »
Home Network 192.168.1.0/24 (gateway 192.168.1.1)
OPNsense at VMware VM with 2 network adapters (1 Bridge-Mode for WAN (DCHP for WAN) & 1 Host-only for LAN 192.168.6.1
Ubuntu client at VMware VM with network adapter host-only (192.168.6.10 static IP and gateway OPNsense)
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #11 on:
December 26, 2023, 03:09:24 pm »
Can you post the firewall rules as requested. Screenshots, not description.
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #12 on:
December 26, 2023, 03:21:24 pm »
Attached
Logged
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: Dissalow https and ssh services from a host
«
Reply #13 on:
December 26, 2023, 06:32:44 pm »
What's the "blocked host"?
Logged
lonewolf7
Newbie
Posts: 9
Karma: 0
Re: Dissalow https and ssh services from a host
«
Reply #14 on:
December 26, 2023, 06:44:15 pm »
the ubuntu client
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
23.7 Legacy Series
»
Dissalow https and ssh services from a host