Apache2 server won't expose to internet

February 16, 2025, 22:16

_lord_duck_

Hey there, so I've been trying to setup a simple webpage using apache2. I've been able to set it up so I can connect to it through local ip, but if I search for my public ip I don't get the webpage. I've already setup the needed port forwarding of port 80 to the static ip of the raspberry pi and configured the ufw of to allow 80/tcp Anywhere. I'm kinda lost here, I've previously setup my raspberry pi (same static ip) to have a public webpage, that worked but I wanted to restart and now it doesn't work (so I would think it's not a problem with port forwarding) Do you guys have any idea of what to try?

blackmage6618

What says ufw status?

blackmage6618

(Or: ufw status verbose)

blackmage6618

Is the rpi reachable local(ping)?

sloghost

if you got a ssl cert you need to forward 443 port

_lord_duck_

Yeah ufw has the 80/tcp to allow from anywhere

_lord_duck_

Yup it's reachable from the local network, I'm even able to view the apache webpage when surfing for like http://192.168.1.10

_lord_duck_

I haven't gotten to the point of getting the cert, cause I believe you first need the normal http to work. But the port forwarding on my router is setup to forward 443 port to the raspberry as well as the ufw allow 443 anywhere

sloghost

you dont need normal http first to work you can get a wildcard cert before doing any webserver stuff

sloghost

you can get a cert whenever

_lord_duck_

Ow, but nonetheless haven't gotten to there yet

_lord_duck_

I'll provide screenshots of the ufw and port forwarding later today

sloghost

open upsome port checker on net and see if it thinks the ports are open or m9t

sloghost

not*

sloghost

portchecker.co

blackmage6618

Is apache configured for SSL traffic?

_lord_duck_

I've tried with CanYouSeeMe.org but that couldn't find that the port was open, but I'll get to the portchecker.co later today

_lord_duck_

I'm not sure, how would I check that

sloghost

if it cant see the port being open than its not open could be due to router or firewall

sloghost

or firewall on router if you got a firewall router

_lord_duck_

I would think if I configured the port forwarding that it automatically bypasses the firewall on the router

_lord_duck_

as far as the ufw, I would think that's setup properly or does that act differently when receiving a request from local or public ip. cause on local network the webpage works

_lord_duck_

I'll show you my port forwarding once I get home

sloghost

depends on what router you have and how you set it up .... if you have a firewall router that might not be the case

sloghost

if you have a cheapo tplink level stuff than yes

sloghost

you should've started by providing that πŸ˜„

sloghost

noon can help without configs and stuff

sloghost

and without knowing how its all setup

_lord_duck_

fair enough

sloghost

everytime asking for help we need the following: - os something is running on - which webserver is being used (nginx, apache ......) - what firewall is being used if any? - what type of router is being used - description of what app/cms you are trying to run or is it your custom site - pics or pastes of all configs (preferrably both) - no hiding of local IPs LOL ... some people do that and it makes life a living hell - any adittional info that i forgot to state dosent hurt

_lord_duck_

Alright here the specs device: raspberry pi 1 model B+ os: Raspbian GNU/Linux 12 (bookworm) kernel: Linux pi 6.6.74+rpt-rpi-v6 #1 Raspbian 1:6.6.74-1+rpt1 (2025-01-27) armv6l GNU/Linux it's a apache2 webserver I'm using the ufw I have the Docsis 3.1 Wifi6 (docsis) modem/router at the moment I'm just trying to run a static webpage (only html) I've given the rpi the static ip of 192.168.1.10/24

_lord_duck_

I was going through my isp's portal for configuring my network and saw something weird

_lord_duck_

_lord_duck_

This is the rpi (it has the same mac address) but the ip is different, any ideas why this could happen?

_lord_duck_

here is my ufw

_lord_duck_

most configs are just default the apache2/ports.conf
conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>
 

_lord_duck_

exposed my public ip :/

sloghost

where did you set static ip

sloghost

in router or pi?

_lord_duck_

pi

sloghost

but it displays another ip?

sloghost

youve set .10 it displays .107?

_lord_duck_

it displays a different ip in my router

_lord_duck_

but it's set to .10, as my ssh does work with .10

sloghost

do
 cat /etc/apache2/sites-enabled/000-default.conf
and share the output

_lord_duck_

<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

sloghost

are you sure this is the correct one? since this is only a sample .... maybe there is another file in /sites-enabled/ ...

sloghost

sometimes 000-default also has a sample file

_lord_duck_

ls /etc/apache2/sites-enabled returns only that file

sloghost

and you can locally access the site?

_lord_duck_

yup

sloghost

give me 1 sec

sloghost

<VirtualHost *:80>

        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html


        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined


</VirtualHost>

sloghost

this is your file without the clusterfuck comments

sloghost

so i see a lot of problems here

sloghost

1. server name is wrong should be your domain name ... do you have a domain or want to only access it via public ip?

_lord_duck_

I do have a ddns with no-ip but haven't set it up on the raspberry pi yet

sloghost

im not asking about ddns im asking about domain

sloghost

example: raspberrypi.com

sloghost

do you have a domain you want to use or only public ip?

_lord_duck_

just public ip I guess, not entirely sure what you mean

sloghost

do you want to type in the browser 87.664.34.512 (made up public ip) or whateverthefuckyouwant.com

sloghost

domain is this

sloghost


_lord_duck_

yeah but doesn't the ddns take care of that

sloghost

no ddns just means your ip dosent change

sloghost

domain is a name you can purchase if you want

sloghost

sloghost

first read up what a domain is

sloghost

domain is the name instead of ip when accessing a website

sloghost

you sohuld learn about that first before making anywebsite PUBLIC... for ssl you need a domain

sloghost

if you want ssl

_lord_duck_

then yeah, I have one with the no-ip, it's like something mySite.ddns.net

sloghost

yeah okay

sloghost

that domain should be at ServerName and without # (uncommented)

sloghost

so example

sloghost

<VirtualHost *:80>

        ServerName ihatemylife.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html


        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

_lord_duck_

alright I've got that, now

sloghost

now just for the lolz restart apache service and see if u can access it

sloghost

sometiems jsut works

sloghost

if not we got some stuff to work on

_lord_duck_

that didn't work, I'll reboot and try again but don't think it'll work tbh

sloghost

if restarting of apache dosent work than reboot also wont

_lord_duck_

yeah

sloghost

which ddns do u use

_lord_duck_

no-ip, but it isn't setup yet but the ip/target does point to my ip

_lord_duck_

like on the rpi side it doesn't automatically update it yet

sloghost

than set it up first else it wont ever work

sloghost

wellp

sloghost

any reason why ddns at all?

_lord_duck_

because my public ip can change, if I'm correct

sloghost

yes but it changes so little times a year that it dosent matter all you need to do is either call a ISP and get a static punlic IP or change 1-2 times a year the IP in domain settings and get a normal domain

sloghost

that'd be my advice

sloghost

i have also a dynamic ip that changes - and i need to fix it 1 time a yr

_lord_duck_

yeah sure, that could work. but a dns just resolves to my ip, if I would search for http://myIp than it should also work. like it that doesn't work the dns or ddns for that will also not work

sloghost

true lets worry about domains later

sloghost

if u even want them at all

_lord_duck_

yeah, fair

sloghost

i wouldnt use ddns atm till you get the site online cuz there could be a no-ip issue and we'd spend hours debugging

sloghost

your network

_lord_duck_

yeah that's why I've been trying to access it through my ip instead of the domain

sloghost

no-ip still routes your public IP to thier servers but i never extensively used so im not completely sure how it works so even using a site that tells you your IP could be givin wrong ip

sloghost

if i was you i'd completely get rid of no-ip temporarly

sloghost

disable it

sloghost

and see

sloghost

till we get it working - than figure out why it dosent work

_lord_duck_

yeah, but like I said except for the ip pointing to mine, the rpi doesn't do anything with no-ip

_lord_duck_

I'll remove the nameserver line though

sloghost

the fact you didnt know what a domain is 5 mins ago im not so sure you understand how it all works

_lord_duck_

I do know what it is, I was just confused cause you the ddns domain and dns domain are the same. I was trying to say that

_lord_duck_

but that's beside the point

sloghost

i was asking are you using a domain for the website or not and you didnt give me a answer

sloghost

wellp

sloghost

forget it for now

sloghost

send a screenshot of your port forwards - still waiting for that

_lord_duck_

like these are the ones for the 80 and 443 ports

sloghost

can i get fullscreen so i can see what in this case would the 10 under the ip mean cuz thats router specific stuff

sloghost

ah no wait i see

sloghost

im just dumb

sloghost

your routers UI is dumb jfc πŸ˜‚

sloghost

yeah thats the last block of the IP .... i get it now

_lord_duck_

It's in a different language but first column is local, second to third is start end extern ports and the 4-5 are internal

sloghost

german?

_lord_duck_

dutch

sloghost

ah ... i saw ip-addressen here and i speak german so i thought maybe its german

sloghost

right click --> translate page --> english

_lord_duck_

in that case

sloghost

perfect ty

sloghost

what do you get if you type your external ip into the browser?

sloghost

anything at all?

sloghost

can i get a sc of what it says

sloghost

(dont need the IP if you dont want to share)

_lord_duck_

this one I can't translate like that, but it just timesout

sloghost

yeah i know the bottom part is the main part what i need err_connection_timed_out

sloghost

to me sounds like closed ports or fw

sloghost

or apache itself

_lord_duck_

yeah, I would think something like that as the port search also didn't find the service

_lord_duck_

I'll try and take a look at that

_lord_duck_

the fw I mean

sloghost

i'd just disable it till we get it working and than install it and get correct rules going

sloghost

when doing stuff like that the less stuff you got going on the better it is to know what the issue is

sloghost

i'd just
apt remove ufw -y 
and once it's working apt install it and get correct rules going on that way we can rule out PI's firewall

_lord_duck_

yeah I've disabled my modems fw and uninstalled the ufw of the pi but still just timesout

sloghost

so atm you got both disabled?

_lord_duck_

yeah

sloghost

amazing

sloghost

1 sec

sloghost

copy the current 000-default file to some other name 000-default.backup or something

sloghost

and we are gonan change it a bit and play around

sloghost

just so we have original if needed

sloghost

it's also up in this thread anyways

_lord_duck_

alright

sloghost

or no it might be split dns issue ... once you make the copy leave original name of the file as is and dont edit it yet

sloghost

turn off your wifi, enable your mobile data and try accessing your ip

sloghost

from mobile data only and see if there works

sloghost

can be on phone

_lord_duck_

it doesn't really load

sloghost

but it dosent give error?

_lord_duck_

it doesn't, gonna try a different browser

sloghost

could be now that you have the 2 files original 000-default and backup in sites-enabled folder and it dosent know wtf is going on

sloghost

maybe move backup 1 folder back

sloghost

or anywhere

sloghost

just not that folder

_lord_duck_

alright, the local ip still works though, so don't know if it really is freaking out

sloghost

dosent hurt to mvoe 1 file where ever on the whole os you want

_lord_duck_

yeah, I moved, stll doesn't really load

thunder07337

He has forwarded the ports to the ip 192.168.1.10, but his pi has received the IP 192.168.1.107 from the router. It can't work like that! If the router automatically assigns ip and you want to set up a static ip in the Pi because you cannot do this on the router, this ip must be outside the ip range in which the router assigns ip. Otherwise it will not work as it does now. Did another device get 192.168.1.10? Try changing the port forwarding to 192.168.1.107 and see if it works.

sloghost

it does not need to be outside of dhcp range

sloghost

once you set static ip inside router or pi router knows that

_lord_duck_

I did try that once, but I'll give it another try

sloghost

it wont work

_lord_duck_

shouldn't like also change the rpi's ip then to the 107

sloghost

do you have both ethernet and wifi enabled on the pi?

_lord_duck_

only eth

_lord_duck_

like ip link show only shows lo and eth0

sloghost

yeah thats not how router works router jsut still has some lease up before it expires you can either remove the device from router and it'll grab the ip set from inside the pi or make the ip static inside router

sloghost

but that wont change much since its not how routing works

sloghost

<@661189939832160306> is there a way we can get a sahre screen going on? maybe jump in the servers vc? jsut so i can take a look ... and i type and you do cuz i cant talk atm i just want to see the screen

sloghost

sorry for tag

sloghost

didnt meant to xD

sloghost

seeing the screen helps lol

_lord_duck_

eeuh sure

sloghost

you can be muted np i cant talk anyways ill be muted ill just watch and type what to do

sloghost

at my gfs house and everyone is screeaming like its a episode of friday the 13th

_lord_duck_

ahaha

_lord_duck_

I'm gonna switch to screen sharing instead

sloghost

yeah i was about to say

sloghost

now open router page and go to where you saw the IP of pi being .107

sloghost

IP > ARP usually

_lord_duck_

it does show my public ip, so no no dox pls

sloghost

yeah i dont really care im here to help πŸ˜„

sloghost

not destroy ur poor pi

_lord_duck_

ahaha, that one msg was already scary. me saying I disabled my fw's and you saying amazing

sloghost

XD

sloghost

its how i talk with my coworkers

sloghost

and it usualyl gets transfered to out side of my job

sloghost

XD

_lord_duck_

fair

sloghost

erm

sloghost

its missing a lotta buttons routers usually have XD

_lord_duck_

yeah I wouldn't know how to change the ip

sloghost

can you repss davanced settings?

sloghost

press*

sloghost

ah why is ur DMZ on?

_lord_duck_

idk, that's default I think

sloghost

that shouldnt be on specially not with that IP XD

sloghost

defaullt??????

sloghost

disable it

sloghost

now try maybe that was the whole issue xD

sloghost

can you access your modem via 192.168.1.1 or do you need to access from that domain?

_lord_duck_

it refuses connection

sloghost

try 192.168.1.1:8080 or 192.168.1.1:443 or 192.168.1.1:8443 could be that youre remotely logging on and thats why you maybe dont see all options

sloghost

if none work leave it as is

_lord_duck_

all refused except 8080 which timedout

sloghost

okay leave it

sloghost

can i see ur general tab and then network security? just so if there is something ticked that shouldnt be or should but isnt

sloghost

general seems fine

sloghost

that too

sloghost

go to topology view

sloghost

thats one dumb ass router

sloghost

lets try something go to port forwarding

sloghost

add a rule same as 80 but make it 8080

sloghost

now go to pi console and open up 000-default file

sloghost

in nano

_lord_duck_

tried that before, but

sloghost

yeah i just want to see if ur router/isp is blocking port 80

sloghost

change :80 to :8080 at top

_lord_duck_

yeah still doesn't load

sloghost

i think you should su - root just so you dont need to sudo every single time XD

sloghost

or that

sloghost

makes life easier

_lord_duck_

fair enough

sloghost

can you show me your network config where you specified static ip inside pi

sloghost

the 192.168.1.10

_lord_duck_

don't know where the config is located I did something like
nmcli con mod enp3s0 ipv4.addresses 192.168.1.10/24
nmcli con mod enp3s0 ipv4.gateway 192.168.1.1
nmcli con mod enp3s0 ipv4.dns 8.8.8.8
nmcli con mod enp3s0 ipv4.method manual

sloghost

erm

sloghost

try
sudo /etc/network/interfaces
- i forgot where pi os saves network files

_lord_duck_

that's the config

sloghost

yeah

sloghost

in my opinion when changing network use this

sloghost

easier and better cuz once you type a wrong subnet and just spam enter in cmd

sloghost

youre fucked XD

sloghost

youll need a screen

_lord_duck_

fair enough

sloghost

also what is 4.4.4.4?

sloghost

first time seeing that dns

sloghost

better

sloghost

i'd even use cloudflare

_lord_duck_

you saw nothing

sloghost

xDDDD

sloghost

now service netwroking reload

sloghost

to save that XD

sloghost

service networking reload

sloghost

or that

sloghost

also works

_lord_duck_

networking?

sloghost

it's debian default service

sloghost

for /etc/network

sloghost

since pi os is made on debian ...

sloghost

i never used pi os myself

sloghost

seems like pi os dosent have it wellp dosent matter

_lord_duck_

alright, yeah I use NetworkManager cause for some reason dhcpcd was doing annoying

sloghost

maybe thats why ur pi ip is different in router

_lord_duck_

also we changed the port to 8080 but if I trie http://192.168.1.10:8080 it doesn't work

_lord_duck_

perhaps

sloghost

did u change in apache without misstypos?

_lord_duck_

wdym

sloghost

in 00-default at top

_lord_duck_

this?

sloghost

ah yeah u got 3x 000

sloghost

yeah that

sloghost

cat it

sloghost

ah yeah ... amybe change * to your PI ip

sloghost

192.168.1.10:8080

sloghost

brb need to take a piss

_lord_duck_

change what to the ip

sloghost

the

sloghost

*

_lord_duck_

alright

sloghost

so isntead of ":8080" you get 192.168.1.1*

sloghost

the "*" means all interfaces all ips all devices

sloghost

so im tkaing a piss if u havent restart apache and try

_lord_duck_

I have

sloghost

and?

_lord_duck_

same

sloghost

do u need to use apache? πŸ˜‚

sloghost

i have so much better experience in nginx

sloghost

i have barely touched apache in years

_lord_duck_

eeuh, I haven't used it before but I don't necessarily need apache

sloghost

ita same shit and i can provide some proven working configs and test on my end .... i cant with apache since i dont use it anymore since 2017

sloghost

nginx is better inmy opinion and when oyu meed ssl certs nginx and letsencrypt act much better together

sloghost

get nginx going and ill pull a working config out of my ass for you

sloghost

xD

_lord_duck_

πŸ‘

sloghost

lemme grab a drink

sloghost

go to /etc/nginx/sites-enabled

sloghost

and wait 3 mins for me to grab a drink

sloghost

soooooooooooooooooooooooooo

sloghost

first 1 sec

sloghost

get rid of all lines that are blue or commented xD ctrl + k at start of the line

sloghost

so we only see the neede stuff not the guides

sloghost

or that

sloghost

what ever you prefer

sloghost

better

sloghost

change listen 80 port to 8080

sloghost

and save file systemctl reload nginx

sloghost

than try

_lord_duck_

on local it works

sloghost

perfect

sloghost

on public same thing as before? loads and never stops loading?

_lord_duck_

yeah on pc it timedout, I'll quickly do on mobile

sloghost

yeah always try both mobile on mobile data and pc

sloghost

sometimes it works on public but dosent show while trying from local on public ip

_lord_duck_

wanted to say I could use a vpn, but don't know if that bricks my ssh. anyways mobile keeps loading

sloghost

and now try port checker

sloghost

for 8080

_lord_duck_

it says closed

sloghost

okay so

sloghost

ping your pi from your cmd on pc

sloghost

okay... erm interesting

sloghost

you can close the ping cmd

sloghost

its either fw or portforwarding

_lord_duck_

the server also works on local, so would expect the ping to also work

sloghost

not working at all

sloghost

yeah but if it didnt than we'd have a issue

_lord_duck_

yeah

sloghost

i'd say restart y<our modem force it to grab your .10 ip from erasing leases

sloghost

and see if that solves smthing

_lord_duck_

wait wha, force it, how'd I do that. just restart or

sloghost

yeah.... cuz what im thinking is - you said your dhcp client was acting up probably modem thinks pi's ip is different from what you set it to rebooting pi usually forces it to erase all leases and recheck them and grab the actual ips or give out new leases to dhcp clients

sloghost

just reboot and come back when done

sloghost

join call share screen and ping me just so i know ur done

_lord_duck_

alright

sloghost

force it dosent mean beat the living shit outof it

sloghost

its just how modems/routers work

sloghost

maybe put a gun to its head

sloghost

it might work

sloghost

man

_lord_duck_

the intro sound, alright I'm back

sloghost

i jumped outta window when u joined

sloghost

scared the living shit out of me

sloghost

i just shitted out my heart

_lord_duck_

it needs some, apparently

sloghost

may i get share screen back? xD

_lord_duck_

ahaha, wow it's shows 0 connected devices

sloghost

yeah ti just forced a new reset and it will force grab them all ... but there should be somethign else called "arp" or smthing .... maybe more advanced view we are not getting or your isp is just retarded

sloghost

wellp

sloghost

try it now from public pc and phone

_lord_duck_

yeah, it's loading

_lord_duck_

just hangs again

sloghost

are you connected via user or admin acc?

sloghost

when you login

_lord_duck_

I'm a admin I believe

sloghost

can you check in profile tab or smthing? you can check on another screen if you think there are info you dont want me to see

_lord_duck_

yeah admin, I checked

sloghost

ah oaky

sloghost

some routers have a user and a admin acc and you seem to lack 50% of features normal routers have

sloghost

if you click on your name at top right with drop down arrow does it maybe say something about some admin/advanced view? again you can do this in another screen if you think theres info you dont want me seeing

_lord_duck_

nope

sloghost


sloghost

normal router stuff XDD

sloghost

and then looking at your uo XD

sloghost

this is what i'd like to see but dosent seem you ahve the arp table

sloghost


sloghost

OH

sloghost

NO

sloghost

BETTER IDEA

sloghost

install and run this and it will tell you which ip your pi actually uses on your network ... is it 10 or 107

sloghost

it is 10

sloghost

you can close now

sloghost

has it ever worked from public?

sloghost

at all?

_lord_duck_

it did from before I like wiped the rpi with a clean install

sloghost

so its probably in pi issue

_lord_duck_

I would think so

sloghost

check if smthing like iptables is installed

_lord_duck_

on?

sloghost

pi

sloghost

ah

sloghost

there is our issue

sloghost

apt remove iptables

sloghost

now it should just work if pi is the issue

sloghost

you had 2 firewalls isntalled

_lord_duck_

the ufw and one on my modem

sloghost

iptables and ufw

_lord_duck_

ow

sloghost

and modem

sloghost

try now

sloghost

ufw is a user friendly version of iptables

_lord_duck_

still not working :/

sloghost

ufw is 100% removed?

_lord_duck_

yeah

sloghost

change /etc/nginx/sites-enabled/default ip from 8080 back to 80 nginx reload and retry

sloghost

can i see your /var/www/html folder?

sloghost

which is correct

sloghost

index or index-debian

_lord_duck_

the index.html was the one from apache, but that just showed the apache default on local

_lord_duck_

index-debian is the default of the nginx

sloghost

where is your static site file?

sloghost

located

sloghost

that you want to host

_lord_duck_

static site file?

sloghost

yeah the website you want to host

sloghost

the static site

_lord_duck_

yeah I am planning to do that in the /var/www/html/ but haven't gotten there, I want to be able to run the webpage before building that one

sloghost

than just make a file with random letters or smthing named index.html jsut so we use something else than defaults for testing

sloghost

dosent matter the contents just so we have smthing to work on

sloghost

web-data

sloghost

a h yes

sloghost

www-data XD

sloghost

i was looking at smthing else and got confused

sloghost

perfect

sloghost

now go back to default nginx config

sloghost

cat it

sloghost

cat /etc/nginx/sites-enabled/default

sloghost

after index.html delete all others

sloghost

save and stuff

sloghost

hmmm

sloghost

than after go back to your router advanced tab

sloghost

tell dmz to fuck off and enable upnp at top

sloghost

now try

sloghost

i guess

_lord_duck_

I swear I've dissable dmz 3 times already

sloghost

itll probably keep comming on on reboot but oh well if it does just ignore

sloghost

XD

_lord_duck_

yeah the same

sloghost

jfc

sloghost

everything works

sloghost

or is set correctly

sloghost

but it dosent give a fuck

sloghost

do you host any other website at any other device?

_lord_duck_

no

_lord_duck_

don't know what the other port forwarding are, but I couldn't really host anything without forwarding

_lord_duck_

I'll dissable those for good measure

sloghost

sure for now

sloghost

jfc

sloghost

lemme think

sloghost

do you just ahve a modem/router combo or also a separate router?

sloghost

anywhere in the mix from the modem to the pi

_lord_duck_

the combo, straight ethernet connection

_lord_duck_

there's a switch between them but, that shouldn't matter

sloghost

yeah switch dosent amtter

sloghost

matter

_lord_duck_

otherwise I'll just contact my isp see if they know why the port forwarding isn't working, and if they can give a more advanced view

sloghost

yeah i was about to say if we dont figure it out soon contact isp maybe they are all the sudden blocking ports and shit and yeah ask for the view

sloghost

maybe

sloghost

jsut for the lolz

_lord_duck_

nah it's back at 107

sloghost

and giggles

sloghost

set ur pi ip to 107

sloghost

at this point

sloghost

i just want to see

sloghost

what happens

sloghost

/etc/network/interfaces

_lord_duck_

where was it again

sloghost

im just fuckign curious at this point

sloghost

i think u have the most retarded modem on the planet

_lord_duck_

yeah

sloghost

yeah restarting nginx dosent help XDDD

_lord_duck_

:/

sloghost

wrong command

_lord_duck_

huh

sloghost

when applying networking you have some wierd wodo shit command

sloghost


sloghost

that dosent work

sloghost

xD

_lord_duck_

or reboot...

sloghost

yeah do reboot

sloghost

cuz fuck it

sloghost

it boots fast anyways not like my dell server which takes whole weekend to boot

_lord_duck_

the iptables does explain that previous bs, that I had to wait like 20s before being able to connect ssh

_lord_duck_

it kept refusing for that period

sloghost

yeh

sloghost

check config maybe it didnt apply

sloghost

/etc/networking/interfaces

sloghost

i think ur pi and router are taking a piss

_lord_duck_

it does seem that way...

_lord_duck_

ah

sloghost

i guess it's also the otehr thing you use for setting ip not mixing with this

_lord_duck_

it's the commands isn't it

sloghost

i guess

_lord_duck_

yup

sloghost

that could be overwritting this

sloghost

cant helop u there since that seems to be pi specific or smthing oyu downlaoded after - i usually run debian and its what i typed

sloghost

some woodoo shit going on right there

_lord_duck_

sigh

sloghost

i think all this network wired woodoo shit going on right there and a mix of everything is why its not working

sloghost

can you purge that nmcli? xD

sloghost

no dont

_lord_duck_

...

sloghost

i think adding static-eth0 connection makes pi think its using 2 interfaces

_lord_duck_

shouldn't show up in ifconfig though

sloghost

that could explain a different ip in router

sloghost

wellp

_lord_duck_

just reboot and hope?

sloghost

i guess xD

sloghost

if we broke networking and all you want on pi and have on it is the website than you flash debian to usb stick or sd or wat ever you use for pi

_lord_duck_

yeah sd

_lord_duck_

yeah I'm confused

sloghost

2 ipv6 are what is bothering me

sloghost

why the fuck do you have 2 ipv6

sloghost

some woodoo shit going on

_lord_duck_

isn't one of them my public

sloghost

ah could be

_lord_duck_

cause eeuhm the 2a02 is public

_lord_duck_

if I'm correct

sloghost

ah okay than makes sense

sloghost

man

_lord_duck_

yup that's public

sloghost

what i'd do is flash debian to pi cuz there is probably some bullshit woodoo shit this pi os has installed thats meant to be more user friendly and is fucking with us ... debian is just pure os without any crap going on - but thats up to you .... cuz we cant even change the fucking ip as we'd like to

sloghost

so overcomplicated

_lord_duck_

fair

sloghost

but its up to u in the end

_lord_duck_

but eeuhm, I'll get back to you when I do that. getting quite hungry (it's 9pm)

sloghost

yeah same here πŸ˜„

sloghost

also in eu

_lord_duck_

I thought knew by now

sloghost

pi imager has debian image

sloghost

iirc

sloghost

if not use ubuntu which is there

sloghost

anything but pi os

sloghost

yeh it had ubuntu you could just do ubuntu ...

_lord_duck_

pi os is based on debian bookworm though

sloghost

yeah but has so much installed shit on top of it its starting ot get over complicated

sloghost

get ubuntu server

sloghost

ubuntu server is normal ubuntu minus desktop

sloghost

in short

_lord_duck_

the rpi 1 b+ isn't in the compatibilities though

sloghost

ah you have pi1?

_lord_duck_

yeah

_lord_duck_

it's a pain

sloghost

go back and in left choose device

sloghost

pi 1

sloghost

and lets see which os you can do

_lord_duck_

ahaha

sloghost

fuck sake .... do minimal pi os

sloghost

the most minimal version you can find

sloghost

maybe that dosent have the bs

sloghost

ah lite yeah

_lord_duck_

that's the one I installed

sloghost

ah than leave it

sloghost

go to raspi-config

sloghost

and we can disable the network manager

sloghost

in cli

_lord_duck_

where's that, or you mean systemctl disable

sloghost

it is a command on all pi os

sloghost

apparently

_lord_duck_

not here

sloghost

try buster version of pi os dosent have this networkmanager

_lord_duck_

think Ima go ahead and buy a new pi and modem

sloghost

apparently

sloghost

πŸ˜‚

sloghost

yeah

sloghost

debian buster based pi os

sloghost

in pi os other

sloghost

WHERE IS IT

sloghost

than do bullseye

sloghost

bullseye lite

sloghost

in pi os other

sloghost

2nd from bottom

sloghost

"a port of debian bullseye"

_lord_duck_

I'm just blind

sloghost

try that and report back when installed

_lord_duck_

alright see you next time I guess

_lord_duck_

thanks for the help already

_lord_duck_

means a lot

sloghost

want to add me in dms so we dont have to spam there?

_lord_duck_

you'll have to add me, your friend requests are closed

sloghost

ah yeah its bcos kids keep spamming me with 20€ giftcard links πŸ˜‚

_lord_duck_

wooow, free €20, yes please

sloghost

getting hacked? yes please

_lord_duck_

that's only a thought

_lord_duck_

I'd reinstalling the os works :), thx guys. I'll close this thread