You are not logged in.
I cant seem to connect to ssh or my mediawiki server from outside of my LAN. Ive forwarded all the needed ports and been going over my config all night. I also made sure my router wasn't blocking anything.
-ssh tells me connection denied
-when i go to my http server i can list directorys but as soon as i try to load media wiki i get a 502 error
*these problems do not happen if im connecting from another machine in my local LAN
This is my sshd_config
# $OpenBSD: ssh_config,v 1.25 2009/02/17 01:28:32 djm Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
#Host *
# ForwardAgent no
# ForwardX11 yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
#HostbasedAuthentication yes
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# BatchMode no
# CheckHostIP yes
#AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
#Port 22
Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel yes
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
#RSAAuthentication yes
#PubkeyAuthentication yes
#HostbasedAuthentication no
#PasswordAuthentication no
#HashKnownHosts yes
#StrictHostKeyChecking ask
#LoginGraceTime 120
#PermitRootLogin no # (put yes here if you want root login)
hosts.deny
##
# /etc/hosts.allow
#
sshd: ALL
mysqld: ALL
# End of file
# /etc/hosts.deny
#
ALL: ALL: DENY
# End of file
hosts.allow
# /etc/hosts.allow
#
sshd: ALL
mysqld: ALL
# End of file
I feel like its a security policy or something im not catching.
Ive been searching and working to fix this all night to no avail.
Thanks ahead of time for any help.
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline
Do you have any iptables rules that may be affecting the inbound connections?
Offline
Hello ahronzombi!
Do you try it with apache web server ? If yes, is there any related information in the apache.log when someone try to connect from out. What's in your http server related config files, vhosts, etc?
Offline
Is that really your sshd_config, because it looks pretty much like ssh_config.
Offline
Do you have any iptables rules that may be affecting the inbound connections?
unless arch 64 comes with iptables rules i do not. i have never tried to set any up
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline
Is that really your sshd_config, because it looks pretty much like ssh_config.
It may be ill look into that
thanks allot man
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline
Hello ahronzombi!
Do you try it with apache web server ? If yes, is there any related information in the apache.log when someone try to connect from out. What's in your http server related config files, vhosts, etc?
Ill try that today. i tried something similar with sshd and looked at the verbose output of the program when trying to connect remotely. it was never touched, like no one tried to connect. i feel like its a network security issue since i can connect locally. but ill check these logs as well
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline
ok ssh works after a pacman update and a reboot. must have been a pkg bug or user error. but mediawiki still gives a 502 error. ill check my logs
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline
Hello ahronzombi!
Do you try it with apache web server ? If yes, is there any related information in the apache.log when someone try to connect from out. What's in your http server related config files, vhosts, etc?
Where is apache.log , i cant find it in /var/logs/httpd
Registered: 2007-05-05
Keep coming back to Arch because its hands down the most amazing distro God has given us.
Offline