mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix: add CONNMARK restore-mark to mangle OUTPUT chain
The CONNMARK --restore-mark rule was only in PREROUTING, which handles forwarded packets. Locally-bound listeners (e.g. vhost) generate replies through the OUTPUT chain, where the fwmark was never restored. This caused response packets to route via the default table instead of back through the originating interface.
This commit is contained in:
@@ -128,10 +128,9 @@ export abstract class ApiService {
|
||||
|
||||
abstract queryDns(params: T.QueryDnsParams): Promise<string | null>
|
||||
|
||||
abstract testPortForward(params: {
|
||||
gateway: string
|
||||
port: number
|
||||
}): Promise<boolean>
|
||||
abstract checkPort(
|
||||
params: T.CheckPortParams,
|
||||
): Promise<T.CheckPortRes>
|
||||
|
||||
// smtp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user