# Can only access DietPi on SSH all other access blocked after fresh install

**URL:** https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921
**Category:** Troubleshooting
**Created:** [17 April 2024 22:00 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921 "2024-04-17T22:00:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![canabino](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@canabino](https://dietpi.com/forum/u/canabino)
#### Post date: [17 April 2024 22:00 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921/1 "2024-04-17T22:00:22Z")

</div>

### Creating a bug report/issue

I have searched the existing open and closed issues

#### Required Information

- DietPi version | `G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=3 G_DIETPI_VERSION_RC=0 G_GITBRANCH='master' G_GITOWNER='MichaIng'`
- Distro version | `bookworm`
- Kernel version | `Linux DietPi 6.6.16-current-rockchip64 #1 SMP PREEMPT Fri Feb 23 08:25:28 UTC 2024 aarch64 GNU/Linux`
- Architecture | `arm64`
- SBC model | `ROCK 4 (aarch64)`
- Power supply used | (EG: 5V 1A RAVpower)
- SD card used | eMMC

#### Additional Information (if applicable)

- Fresh install of the latest bookworm image

#### Steps to reproduce

1. After a fresh install I configured my NordVPN settings with the killswitch enabled and connected the VPN
2. I installed Samba Server and Sonarr
3. I tried to access the Samba share from my laptop with \\<DietPi.IP address\>\dietpi but it says the share is not available
4. Acessing Sonarr’s webpage http://\<DietPi.IP\>:8989 says the site cannot be reached
5. I disconnected the VPN and Samba and sonarr is still not accessible and internet access is offline
6. I disabled the killswitch in the VPN and with the same results
7. I am still able to SSH into my DietPi

#### Expected behaviour

- I should be able to access the DietPi through other means other than SSH  
with the VPN connected or disconnected or killswitch disabled. And I should be able to connect to the internet with VPN disconnected and killswitch disabled.

#### Actual behaviour

- Only SSH access is allowed with or without VPN/killswitch and no internet connection if VPN is disconnected with killswitch disabled.

#### Extra details

- See attached images from the VPN page connected or disconnected  
 ![image](https://dietpi.com/forum/uploads/default/original/2X/4/41e419cc12d29ac9bbfa8e84606ea7b1ce960e4d.png)  
 ![image](https://dietpi.com/forum/uploads/default/original/2X/e/e5045f2aa439c51ed6bf866f4ee7547b6ba56156.png)  
 ![image](https://dietpi.com/forum/uploads/default/original/2X/d/d6f37df55f8b90e01a0415916163199c382ba0e9.png)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [17 April 2024 22:18 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921/2 "2024-04-17T22:18:37Z")

</div>

Did you reboot the system after VPN has been enabled? Maybe some iptable rules are active still

And yes, killswitch is blocking everything access except SSH.

---

<div class="post-metadata">

### Author: ![canabino](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@canabino](https://dietpi.com/forum/u/canabino)
#### Post date: [17 April 2024 22:21 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921/3 "2024-04-17T22:21:05Z")

</div>

Hi Joulinar.  
Yes, I restarted multiple times. I disabled the killswitch and still can’t access the dietpi (only SSH) or have internet connection. The internet only works when the VPN is running.

VPN connected + killswitch disabled = Access to internet / SSH access but no web access or Samba  
VPN disconnected +killswitch disabled = No internet access / SSH access but no web access or Samba

---

<div class="post-metadata">

### Author: ![canabino](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@canabino](https://dietpi.com/forum/u/canabino)
#### Post date: [17 April 2024 22:54 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921/4 "2024-04-17T22:54:46Z")

</div>

It started working again. I enabled the killswitch and disabled it again. Now it seems to be working.

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [16 July 2024 22:55 UTC](https://dietpi.com/forum/t/can-only-access-dietpi-on-ssh-all-other-access-blocked-after-fresh-install/19921/5 "2024-07-16T22:55:12Z")

</div>

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